Package org.biojava.bio.seq.db.emblcd
Class DivisionLkpReader
- java.lang.Object
-
- org.biojava.bio.seq.db.emblcd.EmblCDROMIndexReader
-
- org.biojava.bio.seq.db.emblcd.DivisionLkpReader
-
public class DivisionLkpReader extends EmblCDROMIndexReader
DivisionLkpReaderreads the "division.lkp" file of an EMBL CD-ROM format binary index.- Since:
- 1.2
- Author:
- Keith James
-
-
Field Summary
-
Fields inherited from class org.biojava.bio.seq.db.emblcd.EmblCDROMIndexReader
input, recParser, sb
-
-
Constructor Summary
Constructors Constructor Description DivisionLkpReader(InputStream input)Creates a newDivisionLkpReader.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]readRecord()readRecordcreates an array of Objects from the raw byte array of a single record.-
Methods inherited from class org.biojava.bio.seq.db.emblcd.EmblCDROMIndexReader
close, readDBDate, readDBName, readDBRelease, readFileLength, readRawRecord, readRecordCount, readRecordLength
-
-
-
-
Constructor Detail
-
DivisionLkpReader
public DivisionLkpReader(InputStream input) throws IOException
Creates a newDivisionLkpReader.- Parameters:
input- anInputStream.- Throws:
IOException- if an error occurs.
-
-
Method Detail
-
readRecord
public Object[] readRecord() throws IOException
readRecordcreates an array of Objects from the raw byte array of a single record.- Specified by:
readRecordin classEmblCDROMIndexReader- Returns:
- an
Object []array. - Throws:
IOException- if an error occurs.
-
-