public class FileOutputHandler extends OutputHandler
OutputHandler.OutputTypealreadyClosed, deserializer, END_OF_OUTPUT, in| Constructor and Description |
|---|
FileOutputHandler(StreamingCommand.HandleSpec handleSpec) |
| Modifier and Type | Method and Description |
|---|---|
void |
bindTo(java.lang.String fileName,
BufferedPositionedInputStream is,
long offset,
long end)
Bind the
OutputHandler to the InputStream
from which to read the output data of the managed process. |
OutputHandler.OutputType |
getOutputType()
Get the handled
OutputType. |
close, getNext, getRecordDelimiterpublic FileOutputHandler(StreamingCommand.HandleSpec handleSpec) throws ExecException
ExecExceptionpublic OutputHandler.OutputType getOutputType()
OutputHandlerOutputType.getOutputType in class OutputHandlerOutputTypepublic void bindTo(java.lang.String fileName,
BufferedPositionedInputStream is,
long offset,
long end)
throws java.io.IOException
OutputHandlerOutputHandler to the InputStream
from which to read the output data of the managed process.bindTo in class OutputHandleris - InputStream from which to read the output data
of the managed processjava.io.IOExceptionCopyright © 2007-2012 The Apache Software Foundation