Class CommandLine
- java.lang.Object
-
- org.locationtech.jts.jump.util.commandline.CommandLine
-
public class CommandLine extends Object
A class to parse Unix (and DOS/Win)-style application command-lines.
-
-
Constructor Summary
Constructors Constructor Description CommandLine()
CommandLine(char optionCh)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOptionSpec(OptionSpec optSpec)
Option
getOption(String name)
Iterator
getOptions(String name)
boolean
hasOption(String name)
void
parse(String[] args)
void
printDoc(PrintStream out)
-
-
-
Method Detail
-
addOptionSpec
public void addOptionSpec(OptionSpec optSpec)
-
hasOption
public boolean hasOption(String name)
-
printDoc
public void printDoc(PrintStream out)
-
parse
public void parse(String[] args) throws ParseException
- Throws:
ParseException
-
-