Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse RSE Development Guide
Previous Page Home Next Page

Remote File Types



This extension point is used to register information about whether particular file types should be considered to contain text or binary data. This information is important as it will determine how files will be transferred. The exact meaning of how the transfer of text files differs from binary files depends on the actual file service implementation. In general, though, services will strive to change the encoding of remote text files during transfer such that it matches the local platform default encoding.

Specific encoding conversions also depend on provided extensions to the extension point. For example, transferring files from a remote dstore Linux host to a local Windows client, the file service may convert text files from UTF-8 encoding to Windows cp1252 encoding, and convert remote LF only line endings to local CRLF line endings. The benefit of this conversion is that local (external) tools may operate on transferred files in the RSE files cache without having to worry about encodings.

Providers may provide an extension for this extension point. No code beyond the XML extension declaration is required. See also the extension point which provides similar information for Repository providers.

Configuration Markup:

<!ELEMENT extension ( remoteFileTypes*)>

<!ATTLIST extension




<!ELEMENT remoteFileTypes EMPTY>

<!ATTLIST remoteFileTypes


type      (text|binary)

priority  CDATA #IMPLIED


  • extension - the file extension being identified by this contribution.
  • type - one of either "text" or "binary", identifying the contents of files matching the value of extension.
  • priority - Priority used if there are more than one match of a file type. Integer values are allowed. In case of more than one matching file type, the with lower priority number will be used. If no priority is specified, the default value will be Integer.MAX_VALUE.


Copyright (c) 2006, 2007 IBM Corporation. All Rights Reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at Contributors: IBM Corporation - initial API and implementation

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire