Class SamHeaderRecord

  • Direct Known Subclasses:
    SamHeaderRecordSq

    public abstract class SamHeaderRecord
    extends java.lang.Object
    Sam header record
    Author:
    pcingola
    • Constructor Summary

      Constructors 
      Constructor Description
      SamHeaderRecord​(java.lang.String line, java.lang.String recordTypeCode)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getRecordTypeCode()  
      protected void init()
      Initialize records before parsing
      void parse​(java.lang.String line)
      Parse a line for this record type
      protected abstract void parseField​(java.lang.String tag, java.lang.String value)
      Parse a field for this record
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SamHeaderRecord

        public SamHeaderRecord​(java.lang.String line,
                               java.lang.String recordTypeCode)
    • Method Detail

      • getRecordTypeCode

        public java.lang.String getRecordTypeCode()
      • init

        protected void init()
        Initialize records before parsing
      • parse

        public void parse​(java.lang.String line)
        Parse a line for this record type
        Parameters:
        line -
        recordTypeCode -
      • parseField

        protected abstract void parseField​(java.lang.String tag,
                                           java.lang.String value)
        Parse a field for this record
        Parameters:
        tag -
        value -