Class HeaderFooterBase

Direct Known Subclasses:
FooterRecord, HeaderRecord

public abstract class HeaderFooterBase extends StandardRecord
Common header/footer base class
Author:
Josh Micich
  • Constructor Details

    • HeaderFooterBase

      protected HeaderFooterBase(String text)
    • HeaderFooterBase

      protected HeaderFooterBase(RecordInputStream in)
  • Method Details

    • setText

      public final void setText(String text)
      set the footer string
      Parameters:
      text - string to display
    • getText

      public final String getText()
    • serialize

      public final void serialize(LittleEndianOutput out)
      Description copied from class: StandardRecord
      Write the data content of this BIFF record. The 'ushort sid' and 'ushort size' header fields have already been written by the superclass.

      The number of bytes written must equal the record size reported by RecordBase.getRecordSize()} minus four ( record header consisting of a 'ushort sid' and 'ushort reclength' has already been written by their superclass).

      Specified by:
      serialize in class StandardRecord
      Parameters:
      out - the output object
    • getDataSize

      protected final int getDataSize()
      Specified by:
      getDataSize in class StandardRecord