public class EncryptCommand extends AbstractCommand
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
helpFile |
COMMAND_OPTION_DELIMETER, context| Constructor and Description |
|---|
EncryptCommand() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
String |
getOneLineDescription() |
protected void |
handleOption(String token,
List<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(List<String> tokens)
Run the specific task.
|
execute, parseOptions, printHelpFromFile, setCommandContextpublic EncryptCommand()
public String getOneLineDescription()
protected void printHelp()
AbstractCommandprintHelp in class AbstractCommandprotected void runTask(List<String> tokens) throws Exception
AbstractCommandrunTask in class AbstractCommandtokens - - command argumentsExceptionprotected void handleOption(String token, List<String> tokens) throws Exception
AbstractCommandhandleOption in class AbstractCommandtoken - - option token to handletokens - - succeeding command argumentsExceptionCopyright © 2005–2015 FuseSource, Corp.. All rights reserved.