|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
C
- the consumed element generic typepublic interface Consumer<C>
Defines the interface for a consumer.
Method Summary | |
---|---|
void |
flush()
Flush the stream. |
Class<C> |
getConsumedType()
Returns the class of the element generic type. |
void |
provide(C element)
Provide an element. |
Method Detail |
---|
void provide(C element) throws Exception
element
- the provided element
Exception
- any exceptionvoid flush() throws IOException
IOException
- any io exceptionClass<C> getConsumedType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |