Class CommandLineOptionsParser
java.lang.Object
net.adoptopenjdk.icedteaweb.commandline.CommandLineOptionsParser
Parses for options (passed in as arguments)
To use add entries to CommandLineOptions enum in CommandLineOptions
and make a static method return a list containing
what CommandLineOptions are to be parsed for.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.getParam(CommandLineOptions option) getParams(CommandLineOptions option) booleanhasOption(CommandLineOptions option) booleanstatic booleanstringEqualsOption(String input, CommandLineOptions opt)
-
Constructor Details
-
CommandLineOptionsParser
public CommandLineOptionsParser(String[] args, List<CommandLineOptions> options) throws UnevenParameterException - Throws:
UnevenParameterException
-
-
Method Details
-
hasOption
-
mainArgExists
public boolean mainArgExists() -
getMainArg
-
getMainArgs
-
getParam
-
getParams
-
getNumberOfOptions
Deprecated. -
stringEqualsOption
-