Package com.pnfsoftware.jeb.core.dao
Interface IFileDatabaseReader
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
JDB2Reader
A database record reader.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve the backing file, if any.getRecord
(int type) Retrieve a record.Retrieve a record.getRecordDescription
(int type) boolean
Determine if this database is backed by a file.
-
Method Details
-
hasBackingFile
boolean hasBackingFile()Determine if this database is backed by a file.- Returns:
-
getBackingFile
Retrieve the backing file, if any.- Returns:
- Throws:
NoSuchFileException
-
getRecordDescriptions
List<JDB2Reader.RecordDescription> getRecordDescriptions()- Returns:
-
getRecordDescription
- Parameters:
type
- record type- Returns:
-
getRecord
Retrieve a record.- Parameters:
type
- record type- Returns:
- record data stream
- Throws:
IOException
-
getRecord
Retrieve a record.- Parameters:
r
-- Returns:
- Throws:
IOException
-