Class EncodingTriplet

All Implemented Interfaces:
Triplet, Streamable, StructuredData

public class EncodingTriplet extends AbstractTriplet
Represents a CCSID encoding triplet.
  • Constructor Details

    • EncodingTriplet

      public EncodingTriplet(int encoding)
      Parameters:
      encoding - the CCSID character set encoding
  • Method Details

    • writeToStream

      public void writeToStream(OutputStream os) throws IOException
      DataStream objects must implement the writeToStream() method to write its data to the given OutputStream
      Parameters:
      os - the outputsteam stream
      Throws:
      IOException - an I/O exception of some sort has occurred.
    • getDataLength

      public int getDataLength()
      Returns the data length of this structured field
      Returns:
      the data length of this structured field