Package com.millistream.www
Class MessageField
- java.lang.Object
-
- com.millistream.www.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 newMessageField
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 arrayint
getTag()
Returns the Field Tagjava.lang.String
getValue()
Returns the Field Valuejava.lang.String
toString()
Constructs and returns a (debug) String of the Field Tag
-
-
-
Constructor Detail
-
MessageField
public MessageField(int tag, java.lang.String value)
Constructs a newMessageField
object.- Parameters:
tag
- field tagvalue
- 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 classjava.lang.Object
-
-