public class OutputStreamFlushableCommandline extends Commandline implements FlushReceiverProvider
Commandline
implementation that provides the output stream of
the executed process in form of a FlushReceiver
, for it to be
flushed on demand.Commandline.Argument
Constructor and Description |
---|
OutputStreamFlushableCommandline() |
Modifier and Type | Method and Description |
---|---|
Process |
execute() |
FlushReceiver |
getFlushReceiver() |
addArguments, addEnvironment, addSystemEnvironment, clearArgs, clone, createArg, createArg, getArguments, getCommandline, getEnvironmentVariables, getExecutable, getShell, getWorkingDirectory, setExecutable, setWorkingDirectory, setWorkingDirectory, toString
public Process execute() throws CommandLineException
execute
in class Commandline
CommandLineException
public FlushReceiver getFlushReceiver()
getFlushReceiver
in interface FlushReceiverProvider
FlushReceiver
Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.