# Class: com.pnfsoftware.jeb.core.dao.impl.JDB2Reader
- Super class: `java.lang.Object`
- Super interfaces: `com.pnfsoftware.jeb.core.dao.IFileDatabaseReader`

JDB2 \(JEB saved project database\) record reader.

## Constructor: JDB2Reader
- parameter: `f`, type: `java.io.File`
- throws: `java.io.IOException`

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
- throws: `java.io.IOException`


## 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`
- throws: `java.io.IOException`


## Method: getRecord
- parameter: `r`, type: `com.pnfsoftware.jeb.core.dao.impl.JDB2Reader.RecordDescription`
- return type: `java.io.InputStream`
- throws: `java.io.IOException`


## 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`


