public interface

IFileDatabaseReader

implements Closeable
com.pnfsoftware.jeb.core.dao.IFileDatabaseReader
Known Indirect Subclasses

Class Overview

A database record reader.

See Also

Summary

Public Methods
abstract File getBackingFile()
Retrieve the backing file, if any.@return
abstract InputStream getRecord(int type)
Retrieve a record.
abstract InputStream getRecord(JDB2Reader.RecordDescription r)
Retrieve a record.@return
abstract JDB2Reader.RecordDescription getRecordDescription(int type)
abstract List<JDB2Reader.RecordDescription> getRecordDescriptions()
abstract boolean hasBackingFile()
Determine if this database is backed by a file.
[Expand]
Inherited Methods
From interface java.io.Closeable
From interface java.lang.AutoCloseable

Public Methods

public abstract File getBackingFile ()

Retrieve the backing file, if any.@return

Throws
NoSuchFileException

public abstract InputStream getRecord (int type)

Retrieve a record.

Parameters
type record type
Returns
  • record data stream
Throws
IOException

public abstract InputStream getRecord (JDB2Reader.RecordDescription r)

Retrieve a record.@return

Throws
IOException

public abstract JDB2Reader.RecordDescription getRecordDescription (int type)

Parameters
type record type

public abstract List<JDB2Reader.RecordDescription> getRecordDescriptions ()

public abstract boolean hasBackingFile ()

Determine if this database is backed by a file.