Class DirectoryFileSystem
java.lang.Object
hec.map.tms.datasource.filesystem.directory.DirectoryFileSystem
- All Implemented Interfaces:
FileSystem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanclose()Closes the file systembooleanReturns 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:FileSystemReturns 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:
getFileChannelin interfaceFileSystem- Returns:
-
exists
Description copied from interface:FileSystemReturns true if the file exists and false if it does not.- Specified by:
existsin interfaceFileSystem- Returns:
-
close
Description copied from interface:FileSystemCloses the file system- Specified by:
closein interfaceFileSystem- Returns:
- Throws:
IOException
-