Class CommentTriplet

    • Constructor Detail

      • CommentTriplet

        public CommentTriplet​(byte id,
                              java.lang.String commentString)
        Construct a triplet.
        Parameters:
        id - the triplet identification number
        commentString - a comment
    • Method Detail

      • getDataLength

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

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