|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.freehep.util.argv.MultiStringOption
A Multiple String option for use with ArgumentParser. This allows for multiple occurences of this option with a string (typically -I for compilers). The result is a List of Strings.
Constructor Summary | |
MultiStringOption(String flag,
String name,
String description)
|
|
MultiStringOption(String flag,
String shortCut,
String name,
String description)
|
Method Summary | |
String |
getOption()
Must return the flag and parameters of this option. |
String |
getUsage()
Must return a description of the usage of this option. |
List |
getValue()
|
int |
parse(List values)
Must check whether values begins with this option. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MultiStringOption(String flag, String name, String description)
public MultiStringOption(String flag, String shortCut, String name, String description)
Method Detail |
public List getValue()
public int parse(List values) throws MissingArgumentException
Option
parse
in interface Option
MissingArgumentException
public String getOption()
Option
getOption
in interface Option
public String getUsage()
Option
getUsage
in interface Option
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |