public class CommandLine extends Object
| Constructor and Description |
|---|
CommandLine(String[] args,
int historySize,
String[] shellCommandsToExecute)
Construct a new CommandLine
|
CommandLine(String[] args,
int historySize,
String[] shellCommandsToExecute,
boolean disableInteralCommands)
Construct a new CommandLine
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getArgs()
Return the command line arguments
|
boolean |
getDisableInternalCommands() |
int |
getHistorySize() |
String[] |
getShellCommandsToExecute() |
public CommandLine(String[] args, int historySize, String[] shellCommandsToExecute)
args - an array of strings from main(String[] args)historySize - the size of this history buffershellCommandsToExecute - semi-colon delimited list of commands for the shell to executepublic CommandLine(String[] args, int historySize, String[] shellCommandsToExecute, boolean disableInteralCommands)
args - an array of strings from main(String[] args)historySize - the size of this history buffershellCommandsToExecute - semi-colon delimited list of commands for the shell to executedisableInteralCommands - if true, do not load the built-in shell commandspublic String[] getArgs()
public int getHistorySize()
public String[] getShellCommandsToExecute()
public boolean getDisableInternalCommands()