application.runtime
クラス CommandLineHandler
java.lang.Object
application.runtime.CommandLineHandler
- public class CommandLineHandler
- extends java.lang.Object
クラス java.lang.Object から継承したメソッド |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandLineHandler
public CommandLineHandler()
getCommandLineObject
public org.apache.commons.cli.CommandLine getCommandLineObject(java.lang.String[] args)
getCommandName
public java.lang.String getCommandName()
getOptionList
public java.util.List getOptionList()
getParser
public org.apache.commons.cli.CommandLineParser getParser()
printHelp
public void printHelp()
- ヘルプを表示する
retrieveParameterMap
public java.util.Map retrieveParameterMap(java.lang.String[] args)
- コマンドライン引数からパラメータを取り出す
- パラメータ:
args
- コマンドライン引数
- 戻り値:
- 引数名と値のマップオブジェクト
setCommandName
public void setCommandName(java.lang.String commandName)
setOptionList
public void setOptionList(java.util.List optionList)
setParser
public void setParser(org.apache.commons.cli.CommandLineParser parser)