| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - public interface Serializer<T>
 Provides a facility for serializing objects of type OutputStream.
 
 Serializers are stateful, but must not buffer the output since
 other producers may write to the output between calls to
 serialize(Object).
 
| Method Summary | |
|---|---|
 void | 
close()
Close the underlying output stream and clear up any resources.  | 
 void | 
open(OutputStream out)
Prepare the serializer for writing.  | 
 void | 
serialize(T t)
Serialize t to the underlying output stream. | 
| Method Detail | 
|---|
void open(OutputStream out)
          throws IOException
Prepare the serializer for writing.
IOException
void serialize(T t)
               throws IOException
Serialize t to the underlying output stream.
IOException
void close()
           throws IOException
Close the underlying output stream and clear up any resources.
IOException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||