com.vividsolutions.jump.util.commandline
Class CommandLine

java.lang.Object
  extended by com.vividsolutions.jump.util.commandline.CommandLine

public class CommandLine
extends java.lang.Object

A class to parse Unix (and DOS/Win)-style application command-lines.


Constructor Summary
CommandLine()
           
CommandLine(char optionCh)
           
 
Method Summary
 void addOptionSpec(OptionSpec optSpec)
           
 Option getOption(java.lang.String name)
           
 java.util.Iterator getOptions(java.lang.String name)
           
 boolean hasOption(java.lang.String name)
           
 void parse(java.lang.String[] args)
           
 void printDoc(java.io.PrintStream out)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandLine

public CommandLine()

CommandLine

public CommandLine(char optionCh)
Method Detail

addOptionSpec

public void addOptionSpec(OptionSpec optSpec)

getOption

public Option getOption(java.lang.String name)

getOptions

public java.util.Iterator getOptions(java.lang.String name)

hasOption

public boolean hasOption(java.lang.String name)

printDoc

public void printDoc(java.io.PrintStream out)

parse

public void parse(java.lang.String[] args)
           throws ParseException
Throws:
ParseException