Class FileSystemKey

java.lang.Object
org.apache.commons.vfs2.provider.FileSystemKey
All Implemented Interfaces:
Comparable<FileSystemKey>

class FileSystemKey extends Object implements Comparable<FileSystemKey>
Identifies a file system.
  • Field Details

    • EMPTY_OPTIONS

      private static final FileSystemOptions EMPTY_OPTIONS
    • key

      private final Comparable<?> key
    • fileSystemOptions

      private final FileSystemOptions 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