Package org.locationtech.jtstest.command
Class CommandLine
java.lang.Object
org.locationtech.jtstest.command.CommandLine
A class to parse Unix (and DOS/Win)-style application command-lines
- Version:
- 1.7
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddOptionSpec
(OptionSpec optSpec) getOptionArg
(String name, int argIndex) int
getOptionArgAsInt
(String name, int argIndex) double
getOptionArgAsNum
(String name, int argIndex) String[]
getOptionArgs
(String name) getOptions
(String name) boolean
void
void
printDoc
(PrintStream out)
-
Constructor Details
-
CommandLine
public CommandLine() -
CommandLine
public CommandLine(char optionCh)
-
-
Method Details
-
addOptionSpec
-
getOption
-
getOptionArg
-
getOptionArgAsInt
-
getOptionArgAsNum
-
getOptionArgs
-
getOptions
-
hasOption
-
printDoc
-
parse
- Throws:
ParseException
-