|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdesktop.test.SerializableSupport
public final class SerializableSupport
Support class to test serializable behaviour.
| Method Summary | ||
|---|---|---|
static
|
encode(T object)
Encodes an object as XML and then decodes it. |
|
static
|
serialize(T object)
Serialize the specified object to bytes, then deserialize it back. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T> T serialize(T object)
public static <T> T encode(T object)
T - the type to operate onobject - the object to encode/decode
XMLEncoder,
XMLDecoder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||