public class ObjectSerializer
extends java.lang.Object
| Constructor and Description |
|---|
ObjectSerializer() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
decodeBytes(java.lang.String str) |
static java.lang.Object |
deserialize(java.lang.String str) |
static java.lang.String |
encodeBytes(byte[] bytes) |
static java.lang.String |
serialize(java.io.Serializable obj) |
public static java.lang.String serialize(java.io.Serializable obj)
throws java.io.IOException
java.io.IOExceptionpublic static java.lang.Object deserialize(java.lang.String str)
throws java.io.IOException
java.io.IOExceptionpublic static java.lang.String encodeBytes(byte[] bytes)
throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingExceptionpublic static byte[] decodeBytes(java.lang.String str)
throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingExceptionCopyright © 2007-2012 The Apache Software Foundation