java.lang.Object | |
↳ | com.pnfsoftware.jeb.core.dao.impl.JEB2FileDatabaseWriter |
Standard JEB database record writer.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
JEB2FileDatabaseWriter(File f) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
OutputStream |
beginRecord(int type, int flags)
Initialize a new record.
| ||||||||||
void |
close()
Close the writer.
| ||||||||||
void |
endRecord(OutputStream out)
Close an opened record.
| ||||||||||
File |
getBackingFile()
Retrieve the backing file, if any.@return
| ||||||||||
boolean |
hasBackingFile()
Determine if this database is backed by a file.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.pnfsoftware.jeb.core.dao.IFileDatabaseWriter
|
IOException |
---|
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
Determine if this database is backed by a file.