Class EFS

java.lang.Object
org.eclipse.core.filesystem.EFS

public class EFS extends Object
This class is the main entry point for clients of the Eclipse file system API. This class has factory methods for obtaining instances of file systems and file stores, and provides constants for option values and error codes.
Since:
org.eclipse.core.filesystem 1.0
Restriction:
This class is not intended to be subclassed by clients.
Restriction:
This class is not intended to be instantiated by clients.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Option flag constant (value 1 <<0) indicating a file opened for appending data to the end.
    static final int
    Attribute constant (value 1 <<3) indicating that a file is an archive.
    static final int
    Attribute constant (value 1 <<2) indicating that a file is a executable.
    static final int
    Attribute constant (value 1 <<27) indicating that users in file's group have an execute permission.
    static final int
    Attribute constant (value 1 <<25) indicating that users in file's group have a read permission.
    static final int
    Attribute constant (value 1 <<26) indicating that users in file's group have a write permission.
    static final int
    Attribute constant (value 1 <<4) indicating that a file is hidden.
    static final int
    Attribute constant (value 1 <<21) indicating that a file is marked with immutable flag.
    static final int
    Attribute constant (value 1 <<6) for a string attribute indicating the target file name of a symbolic link.
    static final int
    Attribute constant (value 1 <<30) indicating that other users have an execute permission.
    static final int
    Attribute constant (value 1 <<28) indicating that other users have a read permission.
    static final int
    Attribute constant (value 1 <<29) indicating that other users have a write permission.
    static final int
    Attribute constant (value 1 <<24) indicating that file's owner has an execute permission.
    static final int
    Attribute constant (value 1 <<22) indicating that a file's owner has a read permission.
    static final int
    Attribute constant (value 1 <<23) indicating that file's owner has a write permission.
    static final int
    Attribute constant (value 1 <<1) indicating that a file is read only.
    static final int
    Attribute constant (value 1 <<5) indicating that a file is a symbolic link.
    static final int
    Option flag constant (value 1 <<12) indicating that a cached representation of a file should be returned.
    static final int
    Status code constant (value 280) indicating that the file system failed to authenticate the request.
    static final int
    Status code constant (value 275) indicating this file system is not case sensitive and a file that differs only in case unexpectedly exists on the file system.
    static final int
    Status code constant (value 273) indicating an error occurred while deleting from the file system.
    static final int
    Status code constant (value 268) indicating a store unexpectedly exists on the file system.
    static final int
    Status code constant (value 566) indicating an internal error has occurred.
    static final int
    Status code constant (value 270) indicating the file system location for a store could not be computed.
    static final int
    Status code constant (value 269) indicating a store unexpectedly does not exist on the file system.
    static final int
    Status code constant (value 277) indicating that the parent file in the file system is marked as read-only.
    static final int
    Status code constant (value 271) indicating an error occurred while reading from the file system.
    static final int
    Status code constant (value 279) indicating that the file in the file system is marked as read-only.
    static final int
    Status code constant (value 272) indicating an error occurred while writing to the file system.
    static final int
    Status code constant (value 276) indicating a file exists in the file system but is not of the expected type (file instead of directory, or vice-versa).
    static final int
    A constant known to be zero (0), used in operations which take bit flags to indicate that "no bits are set".
    static final int
    Option flag constant (value 1 <<1) indicating that existing files may be overwritten.
    static final String
    The unique identifier constant (value "org.eclipse.core.filesystem") of the Core file system plug-in.
    static final String
    The simple identifier constant (value "filesystems") of the extension point of the Core file system plug-in where plug-ins declare file system implementations.
    static final String
    Scheme constant (value "file") indicating the local file system scheme.
    static final String
    Scheme constant (value "null") indicating the null file system scheme.
    static final int
    Option flag constant (value 1 <<10) indicating that a file's attributes should be updated.
    static final int
    Option flag constant (value 1 <<11) indicating that a file's last modified time should be updated.
    static final int
    Option flag constant (value 1 <<2) indicating that an operation acts on a single file or directory, and not its parents or children.
  • Method Summary

    Modifier and Type
    Method
    Description
    static IFileInfo
    Creates an empty file information object.
    Returns a file system corresponding to the given scheme.
    Returns the local file system.
    Returns the null file system.
    static IFileStore
    Returns the file store corresponding to the provided URI.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait