Package org.biojava.bio.program.abi
Class ABIFParser.TaggedDataRecord
- java.lang.Object
-
- org.biojava.bio.program.abi.ABIFParser.TaggedDataRecord
-
- Enclosing class:
- ABIFParser
public static class ABIFParser.TaggedDataRecord extends java.lang.ObjectAn aggregate immutable type for an ABIF tagged data record. See the Tibbets paper (referenced in the javadoc forABIFParser) for more information.
-
-
Field Summary
Fields Modifier and Type Field Description longcrypticVariablestatic intDATA_TYPE_ASCII_ARRAYstatic intDATA_TYPE_DATEstatic intDATA_TYPE_FLOATstatic intDATA_TYPE_INTEGERstatic intDATA_TYPE_PSTRINGstatic intDATA_TYPE_TIMElongdataRecordintdataTypeintelementLengthbooleanhasOffsetDatalongnumberOfElementsbyte[]offsetDatalongrecordLengthchar[]tagNamelongtagNumber
-
Constructor Summary
Constructors Constructor Description TaggedDataRecord(ABIFParser.DataAccess din)Creates a new TaggedDataRecord from the next 28 bytes ofdin.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()A very verbosetoStringthat dumps all of the data in this record in a human-readable format.
-
-
-
Field Detail
-
DATA_TYPE_ASCII_ARRAY
public static final int DATA_TYPE_ASCII_ARRAY
- See Also:
- Constant Field Values
-
DATA_TYPE_INTEGER
public static final int DATA_TYPE_INTEGER
- See Also:
- Constant Field Values
-
DATA_TYPE_FLOAT
public static final int DATA_TYPE_FLOAT
- See Also:
- Constant Field Values
-
DATA_TYPE_DATE
public static final int DATA_TYPE_DATE
- See Also:
- Constant Field Values
-
DATA_TYPE_TIME
public static final int DATA_TYPE_TIME
- See Also:
- Constant Field Values
-
DATA_TYPE_PSTRING
public static final int DATA_TYPE_PSTRING
- See Also:
- Constant Field Values
-
tagName
public final char[] tagName
-
tagNumber
public final long tagNumber
-
dataType
public final int dataType
-
elementLength
public final int elementLength
-
numberOfElements
public final long numberOfElements
-
recordLength
public final long recordLength
-
dataRecord
public final long dataRecord
-
crypticVariable
public final long crypticVariable
-
hasOffsetData
public final boolean hasOffsetData
-
offsetData
public final byte[] offsetData
-
-
Constructor Detail
-
TaggedDataRecord
public TaggedDataRecord(ABIFParser.DataAccess din) throws java.io.IOException
Creates a new TaggedDataRecord from the next 28 bytes ofdin.- Parameters:
din- the source of the raw data to be parsed- Throws:
java.io.IOException- if there's a problem withdin
-
-