org.rutil.file
Interface SerializableObjectHandler<T extends java.io.Serializable>
public interface SerializableObjectHandler<T extends java.io.Serializable>
Object handler that encapsulates serialization/de-serialization rules
for objects written to/read from the disk via SerializableObjectsFile
- Author:
- mohan
- See Also:
SerializableObjectsFile
toBytes
byte[] toBytes(T value)
throws SerializableObjectHandlerException
- Throws:
SerializableObjectHandlerException
toObject
T toObject(byte[] byteValue)
throws SerializableObjectHandlerException
- Throws:
SerializableObjectHandlerException