|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface to be implemented by data model objects
whose state can be encapsulated as or decapsulated from
a data String.
This interface has intentional similarities to
the behavior delivered by the automatic serialization process
provided in the Java platform,
but is intended for user input and output,
not for object persistence.
| Method Summary | |
void |
fromStringData(String data)
Sets the state of this object using information contained in the given String. |
String |
toStringData()
Returns a String encapsulation of this object
that contains information needed
to set the state of this object at a later time. |
| Method Detail |
public void fromStringData(String data)
throws ParseException
String.
data - the String containing state information
ParseException - if the data is malformedtoStringData()public String toStringData()
String encapsulation of this object
that contains information needed
to set the state of this object at a later time.
fromStringData(String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||