- 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 int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createParentDirs
(String filename) boolean
isStreamElement
(String elementName) openInputStreamElement
(String streamName) openOutputStreamElement
(String streamName) openOutputStreamElementAppend
(String streamName) boolean
removeElement
(String filename) boolean
renameElement
(String oldName, String newName) boolean
renameElementOrCopy
(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
-