Uses of Class
org.apache.commons.exec.CommandLine
-
Packages that use CommandLine Package Description org.apache.commons.exec org.apache.commons.exec.environment org.apache.commons.exec.launcher -
-
Uses of CommandLine in org.apache.commons.exec
Methods in org.apache.commons.exec that return CommandLine Modifier and Type Method Description CommandLineCommandLine. addArgument(java.lang.String argument)Add a single argument.CommandLineCommandLine. addArgument(java.lang.String argument, boolean handleQuoting)Add a single argument.CommandLineCommandLine. addArguments(java.lang.String addArguments)Add multiple arguments.CommandLineCommandLine. addArguments(java.lang.String[] addArguments)Add multiple arguments.CommandLineCommandLine. addArguments(java.lang.String[] addArguments, boolean handleQuoting)Add multiple arguments.CommandLineCommandLine. addArguments(java.lang.String addArguments, boolean handleQuoting)Add multiple arguments.static CommandLineCommandLine. parse(java.lang.String line)Create a command line from a string.static CommandLineCommandLine. parse(java.lang.String line, java.util.Map<java.lang.String,?> substitutionMap)Create a command line from a string.Methods in org.apache.commons.exec with parameters of type CommandLine Modifier and Type Method Description intDefaultExecutor. execute(CommandLine command)intDefaultExecutor. execute(CommandLine command, java.util.Map<java.lang.String,java.lang.String> environment)voidDefaultExecutor. execute(CommandLine command, java.util.Map<java.lang.String,java.lang.String> environment, ExecuteResultHandler handler)voidDefaultExecutor. execute(CommandLine command, ExecuteResultHandler handler)intExecutor. execute(CommandLine command)Methods for starting synchronous execution.intExecutor. execute(CommandLine command, java.util.Map<java.lang.String,java.lang.String> environment)Methods for starting synchronous execution.voidExecutor. execute(CommandLine command, java.util.Map<java.lang.String,java.lang.String> environment, ExecuteResultHandler handler)Methods for starting asynchronous execution.voidExecutor. execute(CommandLine command, ExecuteResultHandler handler)Methods for starting asynchronous execution.protected java.lang.ProcessDefaultExecutor. launch(CommandLine command, java.util.Map<java.lang.String,java.lang.String> env, java.io.File dir)Creates a process that runs a command.Constructors in org.apache.commons.exec with parameters of type CommandLine Constructor Description CommandLine(CommandLine other)Copy constructor. -
Uses of CommandLine in org.apache.commons.exec.environment
Methods in org.apache.commons.exec.environment that return CommandLine Modifier and Type Method Description protected CommandLineDefaultProcessingEnvironment. getProcEnvCommand()Deprecated.No longer needed -
Uses of CommandLine in org.apache.commons.exec.launcher
Methods in org.apache.commons.exec.launcher with parameters of type CommandLine Modifier and Type Method Description java.lang.ProcessCommandLauncher. exec(CommandLine cmd, java.util.Map<java.lang.String,java.lang.String> env)Launches the given command in a new process.java.lang.ProcessCommandLauncher. exec(CommandLine cmd, java.util.Map<java.lang.String,java.lang.String> env, java.io.File workingDir)Launches the given command in a new process, in the given working directory.java.lang.ProcessCommandLauncherImpl. exec(CommandLine cmd, java.util.Map<java.lang.String,java.lang.String> env)abstract java.lang.ProcessCommandLauncherImpl. exec(CommandLine cmd, java.util.Map<java.lang.String,java.lang.String> env, java.io.File workingDir)java.lang.ProcessCommandLauncherProxy. exec(CommandLine cmd, java.util.Map<java.lang.String,java.lang.String> env)Launches the given command in a new process.java.lang.ProcessJava13CommandLauncher. exec(CommandLine cmd, java.util.Map<java.lang.String,java.lang.String> env, java.io.File workingDir)Launches the given command in a new process, in the given working directoryjava.lang.ProcessOS2CommandLauncher. exec(CommandLine cmd, java.util.Map<java.lang.String,java.lang.String> env, java.io.File workingDir)Launches the given command in a new process, in the given working directory.java.lang.ProcessVmsCommandLauncher. exec(CommandLine cmd, java.util.Map<java.lang.String,java.lang.String> env)Launches the given command in a new process.java.lang.ProcessVmsCommandLauncher. exec(CommandLine cmd, java.util.Map<java.lang.String,java.lang.String> env, java.io.File workingDir)Launches the given command in a new process, in the given working directory.java.lang.ProcessWinNTCommandLauncher. exec(CommandLine cmd, java.util.Map<java.lang.String,java.lang.String> env, java.io.File workingDir)Launches the given command in a new process, in the given working directory.
-