Package org.biojava.bio.seq.db.emblcd
Class AcnumTrgReader
- java.lang.Object
-
- org.biojava.bio.seq.db.emblcd.EmblCDROMIndexReader
-
- org.biojava.bio.seq.db.emblcd.AcnumTrgReader
-
public class AcnumTrgReader extends EmblCDROMIndexReader
AcnumTrgReader
reads the "acnum.trg" 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 AcnumTrgReader(InputStream input)
Creates a newAcnumTrgReader
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]
readRecord()
readRecord
creates 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
-
AcnumTrgReader
public AcnumTrgReader(InputStream input) throws IOException
Creates a newAcnumTrgReader
.- Parameters:
input
- anInputStream
.- Throws:
IOException
- if an error occurs.
-
-
Method Detail
-
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 classEmblCDROMIndexReader
- Returns:
- an
Object []
array. - Throws:
IOException
- if an error occurs.
-
-