com.pnfsoftware.jeb.core.dao.IFileDatabaseWriter |
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract OutputStream |
beginRecord(int type, int flags)
Initialize a new record.
| ||||||||||
abstract void |
close()
Close the writer.
| ||||||||||
abstract void |
endRecord(OutputStream out)
Close an opened record.
| ||||||||||
abstract File |
getBackingFile()
Retrieve the backing file, if any.@return
| ||||||||||
abstract boolean |
hasBackingFile()
Determine if this database is backed by a file.
|
Initialize a new record.
type | the record type, should be in [0, 0xFFFFFF] |
---|---|
flags | record flags, should be in [0, 0xFF] |
IOException |
---|
Close the writer.
IOException |
---|
Close an opened record.
IOException |
---|
Retrieve the backing file, if any.@return
NoSuchFileException |
---|
Determine if this database is backed by a file.