|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
interface ReadStream
Represents a stream of data that can be read from.
Any class that implements this interface can be used by a Pump to pump data from it to a WriteStream.
| Method Summary | |
|---|---|
void
|
dataHandler(groovy.lang.Closure handler)
Set a data handler. |
void
|
endHandler(groovy.lang.Closure handler)
Set an end handler. |
void
|
exceptionHandler(groovy.lang.Closure handler)
Set an exception handler. |
void
|
pause()
Pause the ReadStream. |
void
|
resume()
Resume reading. |
| Method Detail |
|---|
void dataHandler(groovy.lang.Closure handler)
void endHandler(groovy.lang.Closure handler)
void exceptionHandler(groovy.lang.Closure handler)
void pause()
void resume()
Groovy Documentation