public abstract class SerialStreams extends Object implements Serializer
Constructor and Description |
---|
SerialStreams() |
Modifier and Type | Method and Description |
---|---|
Object |
construct(byte[] b) |
byte[] |
getBytes(Object o) |
abstract Object |
readIn(DataInputStream dis) |
abstract void |
writeOut(DataOutputStream dos,
Object o) |
public byte[] getBytes(Object o)
getBytes
in interface Serializer
public Object construct(byte[] b)
construct
in interface Serializer
public abstract void writeOut(DataOutputStream dos, Object o) throws IOException
IOException
public abstract Object readIn(DataInputStream dis) throws IOException
IOException