|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
V
- An object to serialize or to construct.public interface ObjectSerializer<V>
An interface for object serialization and construction (de-serialization).
Method Summary | |
---|---|
V |
construct(byte[] binary)
Constructs (i.e., de-serializes) an object from raw data. |
byte[] |
serialize(V object)
Serializes an object. |
Method Detail |
---|
byte[] serialize(V object)
object
- an object to be serialized by this serializer.
V construct(byte[] binary) throws ObjectConstructionException
binary
- raw data from which an object is constructed.
runtime
- ObjectConstructionException if the object cannot be constructed from the raw bytes.
ObjectConstructionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |