|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.serializer.Util
Some serialization util methods
| Constructor Summary | |
Util()
|
|
| Method Summary | |
static java.lang.Object |
deserialize(byte[] buf)
inverse operation to serialize |
static byte[] |
hexDecode(byte[] bytes)
Does the inverse of hexEncode. |
static byte[] |
hexEncode(byte[] bytes)
Encodes every input byte as two hex characters |
static byte[] |
serialize(java.lang.Object obj)
Uses standard java serialization to map obj to a byte[] |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Util()
| Method Detail |
public static byte[] serialize(java.lang.Object obj)
obj - may be nullpublic static java.lang.Object deserialize(byte[] buf)
public static byte[] hexEncode(byte[] bytes)
public static byte[] hexDecode(byte[] bytes)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||