public class FileOutputHandler extends OutputHandler
OutputHandler.OutputType
alreadyClosed, 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, getRecordDelimiter
public FileOutputHandler(StreamingCommand.HandleSpec handleSpec) throws ExecException
ExecException
public OutputHandler.OutputType getOutputType()
OutputHandler
OutputType
.getOutputType
in class OutputHandler
OutputType
public void bindTo(java.lang.String fileName, BufferedPositionedInputStream is, long offset, long end) throws java.io.IOException
OutputHandler
OutputHandler
to the InputStream
from which to read the output data of the managed process.bindTo
in class OutputHandler
is
- InputStream
from which to read the output data
of the managed processjava.io.IOException
Copyright © 2007-2012 The Apache Software Foundation