# Class: com.pnfsoftware.jeb.core.dao.impl.JDB2Reader

JDB2 \(JEB saved project database\) record reader.

## Constructor: JDB2Reader
- parameter: `f`, type: `java.io.File`

Description: Open a JDB2 reader on a database file.
parameter: f: JDB2 file
throws: if the file cannot be opened or does not start with a valid JDB2 header

## Method: close


## Method: getBackingFile
- return type: `java.io.File`


## Method: getJebVersionInt
- return type: `int`

Description: Retrieve the version\-integer of the JEB build that originally created the JDB2 database. On older JDB2, this value is not set and will be 0. If a non\-zero value is returned, it can be converted to a partial version object using [Version#fromInt(int)](Version#fromInt(int)).
return: the originating JEB version encoded as an integer

## Method: getRecord
- parameter: `type`, type: `int`
- return type: `java.io.InputStream`


## Method: getRecord
- parameter: `r`, type: `com.pnfsoftware.jeb.core.dao.impl.JDB2Reader.RecordDescription`
- return type: `java.io.InputStream`


## Method: getRecordDescription
- parameter: `type`, type: `int`
- return type: `com.pnfsoftware.jeb.core.dao.impl.JDB2Reader.RecordDescription`


## Method: getRecordDescriptions
- return type: `java.util.List<com.pnfsoftware.jeb.core.dao.impl.JDB2Reader.RecordDescription>`


## Method: hasBackingFile
- return type: `boolean`


