程序包 | 说明 |
---|---|
com.sh.common.exec | |
com.sh.common.exec.launcher |
限定符和类型 | 方法和说明 |
---|---|
CommandLine |
CommandLine.addArgument(java.lang.String argument)
Add a single argument.
|
CommandLine |
CommandLine.addArgument(java.lang.String argument,
boolean handleQuoting)
Add a single argument.
|
CommandLine |
CommandLine.addArguments(java.lang.String arguments)
Add multiple arguments.
|
CommandLine |
CommandLine.addArguments(java.lang.String[] arguments)
Add multiple arguments.
|
CommandLine |
CommandLine.addArguments(java.lang.String[] arguments,
boolean handleQuoting)
Add multiple arguments.
|
CommandLine |
CommandLine.addArguments(java.lang.String arguments,
boolean handleQuoting)
Add multiple arguments.
|
static CommandLine |
CommandLine.parse(java.lang.String line)
Create a command line from a string.
|
static CommandLine |
CommandLine.parse(java.lang.String line,
java.util.Map substitutionMap)
Create a command line from a string.
|
限定符和类型 | 方法和说明 |
---|---|
int |
Executor.execute(CommandLine command)
Methods for starting synchronous execution.
|
int |
DefaultExecutor.execute(CommandLine command) |
void |
Executor.execute(CommandLine command,
ExecuteResultHandler handler)
Methods for starting asynchronous execution.
|
void |
DefaultExecutor.execute(CommandLine command,
ExecuteResultHandler handler) |
int |
Executor.execute(CommandLine command,
java.util.Map environment)
Methods for starting synchronous execution.
|
int |
DefaultExecutor.execute(CommandLine command,
java.util.Map environment) |
void |
Executor.execute(CommandLine command,
java.util.Map environment,
ExecuteResultHandler handler)
Methods for starting asynchronous execution.
|
void |
DefaultExecutor.execute(CommandLine command,
java.util.Map environment,
ExecuteResultHandler handler) |
构造器和说明 |
---|
CommandLine(CommandLine other)
Copy constructor.
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.Process |
VmsCommandLauncher.exec(CommandLine cmd,
java.util.Map env)
Launches the given command in a new process.
|
java.lang.Process |
CommandLauncherProxy.exec(CommandLine cmd,
java.util.Map env)
Launches the given command in a new process.
|
java.lang.Process |
CommandLauncherImpl.exec(CommandLine cmd,
java.util.Map env) |
java.lang.Process |
CommandLauncher.exec(CommandLine cmd,
java.util.Map env)
Launches the given command in a new process.
|
java.lang.Process |
WinNTCommandLauncher.exec(CommandLine cmd,
java.util.Map env,
java.io.File workingDir)
Launches the given command in a new process, in the given working
directory.
|
java.lang.Process |
VmsCommandLauncher.exec(CommandLine cmd,
java.util.Map env,
java.io.File workingDir)
Launches the given command in a new process, in the given working
directory.
|
java.lang.Process |
OS2CommandLauncher.exec(CommandLine cmd,
java.util.Map env,
java.io.File workingDir)
Launches the given command in a new process, in the given working
directory.
|
java.lang.Process |
Java13CommandLauncher.exec(CommandLine cmd,
java.util.Map env,
java.io.File workingDir)
Launches the given command in a new process, in the given working
directory
|
abstract java.lang.Process |
CommandLauncherImpl.exec(CommandLine cmd,
java.util.Map env,
java.io.File workingDir) |
java.lang.Process |
CommandLauncher.exec(CommandLine cmd,
java.util.Map env,
java.io.File workingDir)
Launches the given command in a new process, in the given working
directory.
|