|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Serializer
Iterator-style interface for stream based serializers.
Method Summary | |
---|---|
void |
close(boolean closeWriter)
Closes the serialization stream. |
void |
flush()
Flushes the stream. |
LowLevelSerializer |
getLowLevelSerializer()
Returns the underlying low level serializer. |
void |
open(Writer writer)
Opens a new serialization stream based on the given writer. |
void |
write(Object obj)
Writes the given object. |
Method Detail |
---|
void open(Writer writer)
writer
- the writer to base the stream on
SerializationException
void write(Object obj)
obj
- the object to write
SerializationException
void flush()
void close(boolean closeWriter)
closeWriter
is
true, too.
closeWriter
- if true, the underlying writer will be closed, too.
SerializationException
LowLevelSerializer getLowLevelSerializer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |