org.jsecurity.io
Class DefaultSerializer
java.lang.Object
org.jsecurity.io.DefaultSerializer
- All Implemented Interfaces:
- Serializer
public class DefaultSerializer
- extends Object
- implements Serializer
Serializer implementation that uses the default JVM serialization mechanism (Object Input/Output Streams).
- Since:
- 0.9
- Author:
- Les Hazlewood
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSerializer
public DefaultSerializer()
serialize
public byte[] serialize(Object o)
throws SerializationException
- Specified by:
serialize in interface Serializer
- Throws:
SerializationException
deserialize
public Object deserialize(byte[] serialized)
throws SerializationException
- Specified by:
deserialize in interface Serializer
- Throws:
SerializationException
Copyright © 2004-2008 JSecurity.