Class FileAccessRes
java.lang.Object
org.hsqldb.lib.FileAccessRes
- All Implemented Interfaces:
FileAccess
Implementation of FileAccess for resources.
- Since:
- 1.8.0
- Author:
- Fred Toussi (fredt@users dot sourceforge.net)
-
Nested Class Summary
Nested classes/interfaces inherited from interface FileAccess
FileAccess.FileSync -
Field Summary
Fields inherited from interface FileAccess
ELEMENT_READ, ELEMENT_READWRITE, ELEMENT_SEEKABLEREAD, ELEMENT_TRUNCATE, ELEMENT_WRITE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateParentDirs(String filename) booleanisStreamElement(String fileName) openInputStreamElement(String fileName) openOutputStreamElement(String streamName) openOutputStreamElementAppend(String streamName) booleanremoveElement(String filename) booleanrenameElement(String oldName, String newName) booleanrenameElementOrCopy(String oldName, String newName, EventLogInterface logger)
-
Constructor Details
-
FileAccessRes
public FileAccessRes()
-
-
Method Details
-
isStreamElement
- Specified by:
isStreamElementin interfaceFileAccess
-
openInputStreamElement
- Specified by:
openInputStreamElementin interfaceFileAccess- Throws:
IOException
-
createParentDirs
- Specified by:
createParentDirsin interfaceFileAccess
-
removeElement
- Specified by:
removeElementin interfaceFileAccess
-
renameElement
- Specified by:
renameElementin interfaceFileAccess
-
renameElementOrCopy
- Specified by:
renameElementOrCopyin interfaceFileAccess
-
openOutputStreamElement
- Specified by:
openOutputStreamElementin interfaceFileAccess- Throws:
IOException
-
openOutputStreamElementAppend
- Specified by:
openOutputStreamElementAppendin interfaceFileAccess- Throws:
IOException
-
getFileSync
- Specified by:
getFileSyncin interfaceFileAccess- Throws:
IOException
-