public class EncryptCommand extends AbstractCommand
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String[] |
helpFile |
COMMAND_OPTION_DELIMETER, context| Constructor and Description |
|---|
EncryptCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
handleOption(java.lang.String token,
java.util.List<java.lang.String> tokens)
Handle the general options for each command, which includes -h, -?,
--help, -D, --version.
|
protected void |
printHelp()
Print the help messages for the specific task
|
protected void |
runTask(java.util.List<java.lang.String> tokens)
Run the specific task.
|
execute, parseOptions, setCommandContextprotected java.lang.String[] helpFile
public EncryptCommand()
protected void printHelp()
AbstractCommandprintHelp in class AbstractCommandprotected void runTask(java.util.List<java.lang.String> tokens) throws java.lang.Exception
AbstractCommandrunTask in class AbstractCommandtokens - - command argumentsjava.lang.Exceptionprotected void handleOption(java.lang.String token, java.util.List<java.lang.String> tokens) throws java.lang.Exception
AbstractCommandhandleOption in class AbstractCommandtoken - - option token to handletokens - - succeeding command argumentsjava.lang.ExceptionCopyright © 2005-2012. All Rights Reserved.