Class DirectoryFileSystem
java.lang.Object
hec.map.tms.datasource.filesystem.directory.DirectoryFileSystem
- All Implemented Interfaces:
FileSystem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
close()
Closes the file systemboolean
Returns true if the file exists and false if it does not.getFileChannel
(String path) Returns a FileChannel for the given path specified.
-
Constructor Details
-
DirectoryFileSystem
-
-
Method Details
-
getFileChannel
Description copied from interface:FileSystem
Returns a FileChannel for the given path specified. If the path is relative, it will begin from the root of the File System. Null is returned if the file path does not exist.- Specified by:
getFileChannel
in interfaceFileSystem
- Returns:
-
exists
Description copied from interface:FileSystem
Returns true if the file exists and false if it does not.- Specified by:
exists
in interfaceFileSystem
- Returns:
-
close
Description copied from interface:FileSystem
Closes the file system- Specified by:
close
in interfaceFileSystem
- Returns:
- Throws:
IOException
-