public static class Pipe.DefaultOnReady extends Object implements Pipe.OnReady
Default implementation which writes the result to a wrapped output stream and close if automatically.
| Constructor and Description | 
|---|
Pipe.DefaultOnReady(OutputStream os)
 Builds a new instance. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ready(Pipe.Execution e)
 Called once all transformers have been called to transform the source stream. 
 | 
public Pipe.DefaultOnReady(OutputStream os)
Builds a new instance.
os - the stream to writepublic void ready(Pipe.Execution e) throws IOException
Called once all transformers have been called to transform the source stream.
ready in interface Pipe.OnReadye - the current executionIOException - if callback throws an I/O errorCopyright © 2012-2015. All Rights Reserved.