Top Description Inners Fields Methods
org.hsqldb.lib

public Interface FileAccess

Known Direct Implementers
org.hsqldb.lib.FileAccessRes, org.hsqldb.lib.FileUtil
Imports
java.io.IOException, .InputStream, .OutputStream

Interface for abstraction of file access.
Author
Ocke Janssen [email protected]
Since
1.8.0
Version
2.7.0

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
public static final int
public static final int

Method Summary

Modifier and TypeMethod and Description
public void
public FileAccess.FileSync
public boolean
isStreamElement(String elementName)

public InputStream
public OutputStream
public OutputStream
public boolean
public boolean
renameElement(String oldName, String newName)

public boolean

Field Detail

ELEMENT_READback to summary
public static final int ELEMENT_READ
ELEMENT_READWRITEback to summary
public static final int ELEMENT_READWRITE
ELEMENT_SEEKABLEREADback to summary
public static final int ELEMENT_SEEKABLEREAD
ELEMENT_TRUNCATEback to summary
public static final int ELEMENT_TRUNCATE
ELEMENT_WRITEback to summary
public static final int ELEMENT_WRITE

Method Detail

createParentDirsback to summary
public void createParentDirs(String filename)
getFileSyncback to summary
public FileAccess.FileSync getFileSync(OutputStream os) throws IOException
isStreamElementback to summary
public boolean isStreamElement(String elementName)
openInputStreamElementback to summary
public InputStream openInputStreamElement(String streamName) throws IOException
openOutputStreamElementback to summary
public OutputStream openOutputStreamElement(String streamName) throws IOException
openOutputStreamElementAppendback to summary
public OutputStream openOutputStreamElementAppend(String streamName) throws IOException
removeElementback to summary
public boolean removeElement(String filename)
renameElementback to summary
public boolean renameElement(String oldName, String newName)
renameElementOrCopyback to summary
public boolean renameElementOrCopy(String oldName, String newName, EventLogInterface logger)
org.hsqldb.lib back to summary

public Interface FileAccess.FileSync

Known Direct Implementers
org.hsqldb.lib.FileUtil.FileSync

Method Summary

Modifier and TypeMethod and Description
public void
sync()

Method Detail

syncback to summary
public void sync() throws IOException