Class Blockette2000

java.lang.Object
All Implemented Interfaces:
java.io.Serializable

public class Blockette2000
extends DataBlockette
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getName

      public java.lang.String getName()
      Specified by:
      getName in class Blockette
    • getSize

      public int getSize()
      Specified by:
      getSize in class Blockette
    • getType

      public int getType()
      Specified by:
      getType in class Blockette
    • getHeaderField

      public java.lang.String getHeaderField​(int i)
    • getNumHeaders

      public int getNumHeaders()
    • getOpaqueData

      public byte[] getOpaqueData()
    • writeASCII

      public void writeASCII​(java.io.PrintWriter out)
      Description copied from class: Blockette
      Writes an ASCII version of the blockette. This is not meant to be a definitive ascii representation, merely to give something to print for debugging purposes. Ideally each field of each blockette should be printed in the order they appear in the blockette in a visually appealing way.
      Specified by:
      writeASCII in class Blockette
      Parameters:
      out - a Writer
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object