org.shoal.ha.cache.impl.util
Class SimpleSerializer
java.lang.Object
org.shoal.ha.cache.impl.util.SimpleSerializer
public class SimpleSerializer
- extends java.lang.Object
- Author:
- Mahesh Kannan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleSerializer
public SimpleSerializer()
serializeString
public static void serializeString(ReplicationOutputStream ros,
java.lang.String str)
throws java.io.IOException
- Throws:
java.io.IOException
serialize
public static void serialize(ReplicationOutputStream ros,
java.lang.Object obj)
throws java.io.IOException
- Throws:
java.io.IOException
deserializeString
public static java.lang.String deserializeString(byte[] data,
int offset)
deserialize
public static java.lang.Object deserialize(java.lang.ClassLoader loader,
byte[] data,
int offset)
throws java.lang.ClassNotFoundException,
java.io.IOException
- Throws:
java.lang.ClassNotFoundException
java.io.IOException
Copyright © 2010. All Rights Reserved.