|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.esa.beam.framework.processor.CmdLineParser
public class CmdLineParser
Helper class to parse command lines with a given options set. The command lines that can be understood by this class may consist of:
| Constructor Summary | |
|---|---|
CmdLineParser()
Constructs the object with default parameters |
|
CmdLineParser(String[] args)
Constructs the object with given command line |
|
| Method Summary | |
|---|---|
CmdLineParams |
getCmdLineParams()
Returns the command line parameters parsed. |
boolean |
isEmptyCommandLine()
Returns wheter the commandline is empty or has arguments |
void |
setArgs(String[] args)
Sets the command line arguments to be parsed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmdLineParser()
public CmdLineParser(String[] args)
throws ProcessorException
ProcessorException - when erros occur during parsing| Method Detail |
|---|
public void setArgs(String[] args)
throws ProcessorException
ProcessorException - when erros occur during parsing
public CmdLineParams getCmdLineParams()
throws ProcessorException
ProcessorException - when the command line is not parsed yetpublic boolean isEmptyCommandLine()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||