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
DivisionLkpReader
reads the "division.lkp" file of an
EMBL CD-ROM format binary index.
- Since:
- 1.2
- Author:
- Keith James
Method Summary |
Object[] |
readRecord()
readRecord creates an array of Objects from the
raw byte array of a single record. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DivisionLkpReader
public DivisionLkpReader(InputStream input)
throws IOException
- Creates a new
DivisionLkpReader
.
- Parameters:
input
- an InputStream
.
- Throws:
IOException
- if an error occurs.
readRecord
public Object[] readRecord()
throws IOException
readRecord
creates an array of Objects from the
raw byte array of a single record.
- Specified by:
readRecord
in class EmblCDROMIndexReader
- Returns:
- an
Object []
array.
- Throws:
IOException
- if an error occurs.