Package org.apache.commons.vfs2.provider
Class FileSystemKey
java.lang.Object
org.apache.commons.vfs2.provider.FileSystemKey
- All Implemented Interfaces:
Comparable<FileSystemKey>
Identifies a file system.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final FileSystemOptionsprivate final FileSystemOptionsNever null as the ctor sets it to EMPTY_OPTIONS if input is null.private final Comparable<?> -
Constructor Summary
ConstructorsConstructorDescriptionFileSystemKey(Comparable<?> key, FileSystemOptions fileSystemOptions) Creates the FS key. -
Method Summary
-
Field Details
-
EMPTY_OPTIONS
-
key
-
fileSystemOptions
Never null as the ctor sets it to EMPTY_OPTIONS if input is null.
-
-
Constructor Details
-
FileSystemKey
FileSystemKey(Comparable<?> key, FileSystemOptions fileSystemOptions) Creates the FS key.- Parameters:
key- must implement Comparable, and must be self-comparable.fileSystemOptions- the required options, may be null.
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<FileSystemKey>
-
toString
-