File System Providers

Identifier:
org.eclipse.core.filesystem.filesystems

Since:
org.eclipse.core.filesystem 1.0

Description:
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.

Configuration Markup:

<!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

>


Examples:
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".

API Information:
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).

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


Copyright (c) 2005 IBM Corporation and others.
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 http://www.eclipse.org/legal/epl-v10.html