public interface

IFileDatabaseWriter

com.pnfsoftware.jeb.core.dao.IFileDatabaseWriter
Known Indirect Subclasses

Class Overview

A database record writer.

See Also

Summary

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.

Public Methods

public abstract OutputStream beginRecord (int type, int flags)

Initialize a new record.

Parameters
type the record type, should be in [0, 0xFFFFFF]
flags record flags, should be in [0, 0xFF]
Returns
  • the output stream for the newly-created record
Throws
IOException

public abstract void close ()

Close the writer.

Throws
IOException

public abstract void endRecord (OutputStream out)

Close an opened record.

Throws
IOException