|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Stream
A stream is a consumer of chunk.
| Method Summary | |
|---|---|
void |
close(Thread.UncaughtExceptionHandler errorHandler)
Signal the work is done, the caller can be aware of error that were not caught. |
void |
provide(Chunk chunk)
Provide a chunk. |
| Method Detail |
|---|
void provide(Chunk chunk)
chunk - the chunkvoid close(Thread.UncaughtExceptionHandler errorHandler)
errorHandler
argument can be null.
errorHandler - the optional error handler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||