|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This interface that must be implemented by all SExpressions classes. An S-Expression is either:
NOTE:The basic S-Expression is always a list!
SList,
SOctetStream| Field Summary | |
static String |
versionString
Version string. |
| Method Summary | |
boolean |
equals(Object that)
Compare this SExpression object with the provided object. |
void |
free()
Destructive resource deallocation. |
boolean |
isList()
Returns true if this S-Expression is a list of simpler S-Expressions, or false if this object is an octet-string object. |
byte[] |
toAdvanced()
Returns this S-Expression as a byte array, where the components are represented in their Advanced representation (that is, pretty-printed). |
void |
toAdvanced(OutputStream out)
Writes this S-Expression to an OutputStream. |
byte[] |
toCanonical()
Returns this S-Expression as a byte array. |
void |
toCanonical(OutputStream out)
Write this S-Expression to an OutputStream. |
String |
toString()
Returns this S-Expression in its Advanced representation, as a String. |
byte[] |
toTransport()
Returns this S-Expression as a byte array, in transport representation. |
void |
toTransport(OutputStream out)
Write this S-Expression to an OutputStream. |
| Field Detail |
public static final String versionString
| Method Detail |
public boolean isList()
public void free()
public boolean equals(Object that)
public byte[] toCanonical()
public void toCanonical(OutputStream out)
public byte[] toTransport()
public void toTransport(OutputStream out)
public String toString()
public byte[] toAdvanced()
public void toAdvanced(OutputStream out)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||