Interface FileAccess
- All Known Implementing Classes:
FileAccessRes, FileUtil
public interface FileAccess
Interface for abstraction of file access.
- Since:
- 1.8.0
- Author:
- Ocke Janssen oj@openoffice.org
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateParentDirs(String filename) booleanisStreamElement(String elementName) openInputStreamElement(String streamName) openOutputStreamElement(String streamName) openOutputStreamElementAppend(String streamName) booleanremoveElement(String filename) booleanrenameElement(String oldName, String newName) booleanrenameElementOrCopy(String oldName, String newName, EventLogInterface logger)
-
Field Details
-
ELEMENT_READ
static final int ELEMENT_READ- See Also:
-
ELEMENT_SEEKABLEREAD
static final int ELEMENT_SEEKABLEREAD- See Also:
-
ELEMENT_WRITE
static final int ELEMENT_WRITE- See Also:
-
ELEMENT_READWRITE
static final int ELEMENT_READWRITE- See Also:
-
ELEMENT_TRUNCATE
static final int ELEMENT_TRUNCATE- See Also:
-
-
Method Details
-
openInputStreamElement
- Throws:
IOException
-
openOutputStreamElement
- Throws:
IOException
-
openOutputStreamElementAppend
- Throws:
IOException
-
isStreamElement
-
createParentDirs
-
removeElement
-
renameElement
-
renameElementOrCopy
-
getFileSync
- Throws:
IOException
-