com.millistream.www
Class MessageField

java.lang.Object
  extended by 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
MessageField(int tag, java.lang.String value)
          Constructs a new MessageField object.
 
Method Summary
 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