Package org.terrier.utility
Interface Files.FSCapability
-
- All Known Implementing Classes:
LocalFileSystem
- Enclosing class:
- Files
public static interface Files.FSCapabilityconstants declaring which capabilities a file system has
-
-
Field Summary
Fields Modifier and Type Field Description static byteDEL_ON_EXITFS can mark a file or directory to be deleted on exitstatic byteLS_DIRFS can list the content of a directorystatic byteRANDOM_READFS can read file in a random fashionstatic byteRANDOM_WRITEFS can write to files in a random fashionstatic byteREADFS can read filesstatic byteSTATFS can determine properties of a file or directorystatic byteWRITEFS can write files
-
-
-
Field Detail
-
READ
static final byte READ
FS can read files- See Also:
- Constant Field Values
-
WRITE
static final byte WRITE
FS can write files- See Also:
- Constant Field Values
-
RANDOM_READ
static final byte RANDOM_READ
FS can read file in a random fashion- See Also:
- Constant Field Values
-
RANDOM_WRITE
static final byte RANDOM_WRITE
FS can write to files in a random fashion- See Also:
- Constant Field Values
-
LS_DIR
static final byte LS_DIR
FS can list the content of a directory- See Also:
- Constant Field Values
-
STAT
static final byte STAT
FS can determine properties of a file or directory- See Also:
- Constant Field Values
-
DEL_ON_EXIT
static final byte DEL_ON_EXIT
FS can mark a file or directory to be deleted on exit- See Also:
- Constant Field Values
-
-