|
HOME | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ireasoning.protocol.tl1.TL1Section
This class represents section in TL1 payload.
TL1Line
,
Serialized FormConstructor Summary | |
TL1Section(String section)
Constructs a new TL1Section |
Method Summary | |
TL1Field |
getField(int index)
Returns the field at the specified position in this section. |
int |
getFieldCount()
Returns the number of fileds contained in this section |
TL1Field[] |
getFields()
Returns an array of fields contained in this section. |
String |
lookupValue(String name)
Returns the value corresponding to passed name, or name itself if it has no value. |
String |
toString()
Returns the string representation of this class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TL1Section(String section)
section
- the raw section stringMethod Detail |
public TL1Field[] getFields()
public TL1Field getField(int index)
IndexOutOfBoundsException
- if index is out of range (index
< 0 || index >= getFieldCount()).public int getFieldCount()
public String lookupValue(String name)
public String toString()
|
HOME | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |