|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - the type of the objectsC - the type of the contextpublic interface Serializer<T,C>
Serializes objects
| Method Summary | |
|---|---|
T |
deserialize(java.io.InputStream in,
C context)
Deserializes the object from the input stream |
void |
serialize(T object,
java.io.OutputStream out,
C context)
Serializes the object to the given output stream |
| Method Detail |
|---|
void serialize(@NotNull
T object,
@NotNull
java.io.OutputStream out,
@Nullable
C context)
throws java.io.IOException
object - the objectout - the out streamcontext - the context (optional)
java.io.IOException
@NotNull
T deserialize(@NotNull
java.io.InputStream in,
@Nullable
C context)
throws java.io.IOException
in - the input streamcontext - the context (optional)
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||