public class GzipJavaUriSerializer extends Object implements Serializer
| Constructor and Description |
|---|
GzipJavaUriSerializer() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
deserialize(byte[] data) |
private static Object |
fromString(byte[] compressedString) |
<T> byte[] |
serialize(T object) |
private static byte[] |
toString(Serializable obj) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeserializeSafely, serializeSafelypublic <T> byte[] serialize(T object)
throws IOException
serialize in interface SerializerIOExceptionpublic <T> T deserialize(byte[] data)
throws IOException
deserialize in interface SerializerIOExceptionprivate static byte[] toString(Serializable obj) throws IOException
IOExceptionprivate static Object fromString(byte[] compressedString) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionCopyright © 2017–2019. All rights reserved.