Package org.biojava.bio.program.indexdb
Class Record.Impl
- java.lang.Object
- 
- org.biojava.bio.program.indexdb.Record.Impl
 
- 
- All Implemented Interfaces:
- Record
 - Enclosing interface:
- Record
 
 public static class Record.Impl extends Object implements Record Implis the default implementation of Record.- Author:
- Matthew Pocock
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.biojava.bio.program.indexdb.RecordRecord.Impl
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description RAFgetFile()getFilereturns the random access file in which the record belongs.StringgetID()getIDreturns the primary identifier of the record.intgetLength()getLengthreturns the length of the record in bytes.longgetOffset()getOffsetreturns the byte offset in the file at which the record begins.
 
- 
- 
- 
Method Detail- 
getIDpublic String getID() Description copied from interface:RecordgetIDreturns the primary identifier of the record.
 - 
getFilepublic RAF getFile() Description copied from interface:RecordgetFilereturns the random access file in which the record belongs.
 - 
getOffsetpublic long getOffset() Description copied from interface:RecordgetOffsetreturns the byte offset in the file at which the record begins.
 
- 
 
-