public class CommandLine
extends java.lang.Object
Constructor and Description |
---|
CommandLine(java.lang.String[] args,
int historySize,
java.lang.String[] shellCommandsToExecute)
Construct a new CommandLine
|
CommandLine(java.lang.String[] args,
int historySize,
java.lang.String[] shellCommandsToExecute,
boolean disableInternalCommands)
Construct a new CommandLine
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getArgs()
Return the command line arguments
|
boolean |
getDisableInternalCommands() |
int |
getHistorySize() |
java.lang.String[] |
getShellCommandsToExecute() |
public CommandLine(java.lang.String[] args, int historySize, java.lang.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(java.lang.String[] args, int historySize, java.lang.String[] shellCommandsToExecute, boolean disableInternalCommands)
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 executedisableInternalCommands
- if true, do not load the built-in shell commandspublic java.lang.String[] getArgs()
public int getHistorySize()
public java.lang.String[] getShellCommandsToExecute()
public boolean getDisableInternalCommands()