Class ABIFParser.TaggedDataRecord

  • Enclosing class:
    ABIFParser

    public static class ABIFParser.TaggedDataRecord
    extends java.lang.Object
    An aggregate immutable type for an ABIF tagged data record. See the Tibbets paper (referenced in the javadoc for ABIFParser) for more information.
    • Field Detail

      • 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 of din.
        Parameters:
        din - the source of the raw data to be parsed
        Throws:
        java.io.IOException - if there's a problem with din
    • Method Detail

      • toString

        public java.lang.String toString()
        A very verbose toString that dumps all of the data in this record in a human-readable format.
        Overrides:
        toString in class java.lang.Object