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, setCommandContext
protected java.lang.String[] helpFile
public EncryptCommand()
protected void printHelp()
AbstractCommand
printHelp
in class AbstractCommand
protected void runTask(java.util.List<java.lang.String> tokens) throws java.lang.Exception
AbstractCommand
runTask
in class AbstractCommand
tokens
- - command argumentsjava.lang.Exception
protected void handleOption(java.lang.String token, java.util.List<java.lang.String> tokens) throws java.lang.Exception
AbstractCommand
handleOption
in class AbstractCommand
token
- - option token to handletokens
- - succeeding command argumentsjava.lang.Exception
Copyright © 2005-2017. All Rights Reserved.