Class CustomFormat


  • public class CustomFormat
    extends java.lang.Object
    Container object for a DataType and a byte array that is the format for the data type.
    • Constructor Summary

      Constructors 
      Constructor Description
      CustomFormat​(DataType dataType, byte[] format)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getBytes()
      Get the bytes that define this format.
      DataType getDataType()
      Get the data type associated with this format.
      • Methods inherited from class java.lang.Object

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

      • CustomFormat

        public CustomFormat​(DataType dataType,
                            byte[] format)
        Constructor
        Parameters:
        dataType - data type associated with this format
        format - bytes that define the format
    • Method Detail

      • getDataType

        public DataType getDataType()
        Get the data type associated with this format.
      • getBytes

        public byte[] getBytes()
        Get the bytes that define this format.