|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.agentfactory.platform.mts.FIPAContent
public class FIPAContent
This class is used to contain FIPA-syntax compliant content.
| Method Summary | |
|---|---|
FIPAContent |
get(int index)
Returns the content at the specified index. |
java.lang.String |
getCommand()
|
java.lang.String |
getString(int index)
|
static void |
main(java.lang.String[] args)
|
static FIPAContent |
newInstance(java.lang.String content)
Factory method that creates a new instance of FIPAContent based upon the contents of the "content" String. |
int |
size()
|
java.lang.String |
toString()
Converts an instance of of FIPAContent into String format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static FIPAContent newInstance(java.lang.String content)
content - the content to be encoded in the instance.
public FIPAContent get(int index)
index - the index to be returned.public java.lang.String getString(int index)
public java.lang.String getCommand()
public java.lang.String toString()
toString in class java.lang.Objectpublic int size()
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||