public class

JEB2FileDatabaseWriter

extends Object
implements IFileDatabaseWriter
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.dao.impl.JEB2FileDatabaseWriter

Class Overview

Standard JEB database record writer.

Summary

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.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.pnfsoftware.jeb.core.dao.IFileDatabaseWriter

Public Constructors

public JEB2FileDatabaseWriter (File f)

Throws
IOException

Public Methods

public 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 void close ()

Close the writer.

Throws
IOException

public void endRecord (OutputStream out)

Close an opened record.

Throws
IOException