net.metanotion.io
Class SerialStreams
java.lang.Object
net.metanotion.io.SerialStreams
- All Implemented Interfaces:
- Serializer
public abstract class SerialStreams
- extends Object
- implements Serializer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerialStreams
public SerialStreams()
getBytes
public byte[] getBytes(Object o)
- Specified by:
getBytes
in interface Serializer
construct
public Object construct(byte[] b)
- Specified by:
construct
in interface Serializer
writeOut
public abstract void writeOut(DataOutputStream dos,
Object o)
throws IOException
- Throws:
IOException
readIn
public abstract Object readIn(DataInputStream dis)
throws IOException
- Throws:
IOException