public class

JEB2FileDatabaseReader

extends Object
implements IFileDatabaseReader
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.dao.impl.JEB2FileDatabaseReader

Class Overview

Standard JEB database record reader.

Summary

Nested Classes
class JEB2FileDatabaseReader.RecordDescription  
Public Constructors
JEB2FileDatabaseReader(File f)
Public Methods
void close()
Close the reader.
File getBackingFile()
Retrieve the backing file, if any.@return
InputStream getRecord(JEB2FileDatabaseReader.RecordDescription r)
Retrieve a record.@return
InputStream getRecord(int type)
Retrieve a record.
JEB2FileDatabaseReader.RecordDescription getRecordDescription(int type)
List<JEB2FileDatabaseReader.RecordDescription> getRecordDescriptions()
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.IFileDatabaseReader

Public Constructors

public JEB2FileDatabaseReader (File f)

Throws
IOException

Public Methods

public void close ()

Close the reader.

Throws
IOException

public File getBackingFile ()

Retrieve the backing file, if any.@return

public InputStream getRecord (JEB2FileDatabaseReader.RecordDescription r)

Retrieve a record.@return

Throws
IOException

public InputStream getRecord (int type)

Retrieve a record.

Parameters
type record type
Returns
  • record data stream
Throws
IOException

public JEB2FileDatabaseReader.RecordDescription getRecordDescription (int type)

public List<JEB2FileDatabaseReader.RecordDescription> getRecordDescriptions ()

public boolean hasBackingFile ()

Determine if this database is backed by a file.