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(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(String fileName, BufferedPositionedInputStream is, long offset, long end) throws 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 processIOExceptionCopyright © 2007-2017 The Apache Software Foundation