|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the object typepublic interface ObjectSink<T>
A streaming sink for objects.
Method Summary | |
---|---|
void |
accept(T instance)
Accept an object. |
void |
close()
Close the sink. |
void |
flush()
Push out any temporary state. |
Method Detail |
---|
void accept(T instance) throws IOException
instance
- the object to accept
IOException
- if an error occursvoid flush() throws IOException
flush
in interface Flushable
IOException
- if an error occursvoid close() throws IOException
close
in interface Closeable
IOException
- if an error occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |