File System Providers

org.eclipse.core.filesystem.filesystems

org.eclipse.core.filesystem 1.0

This extension point is used to provide implementations of the abstract file system API org.eclipse.core.filesystem.IFileSystem. File system implementations control all aspects of querying and modifying a tree of files and directories in some backing store. Each file system extension is responsible for a file system namespace identified by a particular URI scheme.

<!ELEMENT extension (filesystem)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT filesystem (run)>

<!ATTLIST filesystem

scheme CDATA #REQUIRED>


<!ELEMENT run EMPTY>

<!ATTLIST run

class CDATA #REQUIRED>


Following is an example of a file system extension that provides access to file systems using the "gopher" URI scheme.

 
   

<extension id=

"gopherFS"

name=

"Gopher File System"

point=

"org.eclipse.core.filesystem.filesystems"

>

<filesystem scheme=

"gopher"

>

<run class=

"com.xyz.fs.GopherFileSystem"

/>

</filesystem>

</extension>

If this extension was defined in a plug-in with id "com.xyz.coolplugin", the fully qualified name of this file system extension would be "com.xyz.coolplugin.gopherFS".

The value of the class attribute must represent a subclass of org.eclipse.core.filesystem.provider.FileSystem.

File system instances can be obtained via the method org.eclipse.core.filesystem.FileSystemCore.getFileSystem(String).

The platform provides a file system implementation for the "file" scheme.