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.IOException
public static java.lang.Object deserialize(java.lang.String str) throws java.io.IOException
java.io.IOException
public static java.lang.String encodeBytes(byte[] bytes) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
public static byte[] decodeBytes(java.lang.String str) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
Copyright © 2007-2017 The Apache Software Foundation