Class MessageField


  • public class MessageField
    extends java.lang.Object
    This class represents a field of a message received from the server.
    See Also:
    F
    • Constructor Summary

      Constructors 
      Constructor Description
      MessageField​(int tag, java.lang.String value)
      Constructs a new MessageField object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String[][] getTabularValue()
      Returns a tabular field value as a string array
      int getTag()
      Returns the Field Tag
      java.lang.String getValue()
      Returns the Field Value
      java.lang.String toString()
      Constructs and returns a (debug) String of the Field Tag
      • Methods inherited from class java.lang.Object

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

      • MessageField

        public MessageField​(int tag,
                            java.lang.String value)
        Constructs a new MessageField object.
        Parameters:
        tag - field tag
        value - field value
        See Also:
        F
    • Method Detail

      • getTag

        public int getTag()
        Returns the Field Tag
        Returns:
        the field tag
        See Also:
        F
      • getValue

        public java.lang.String getValue()
        Returns the Field Value
        Returns:
        the field value as a string
      • getTabularValue

        public java.lang.String[][] getTabularValue()
        Returns a tabular field value as a string array
        Returns:
        the tabular field value as a String[][]
      • toString

        public java.lang.String toString()
        Constructs and returns a (debug) String of the Field Tag
        Overrides:
        toString in class java.lang.Object