|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectca.uhn.hl7v2.conf.classes.generator.builders.CommandParser
public class CommandParser
This class parses the command line argument for the command line tool ConfGen.java
| Constructor Summary | |
|---|---|
CommandParser()
creates a new vector to store the command line arguments into |
|
| Method Summary | |
|---|---|
java.lang.String |
getDest()
returns the location where the genrated files are going to be stored into |
boolean |
getErrFlag()
returns true if the error flag is set or false if it is not |
java.lang.String |
getError()
returns the error type if there is an error in the command line arguments |
boolean |
getHelpFlag()
returns true if the help flag is set or false if it is not |
java.lang.String |
getPackage()
returns the pakage name to use for the generated source |
java.lang.String |
getSource()
returns the location of the XML profile |
boolean |
getTestFlag()
returns true if the test flag is set or false if it is not |
boolean |
getVerbFlag()
returns true if the verbose flag is set or false if it is not |
void |
parse(java.lang.String[] args)
this method parses the command line for the ConfGen.java command line tool |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommandParser()
| Method Detail |
|---|
public java.lang.String getDest()
public boolean getErrFlag()
public java.lang.String getError()
public boolean getHelpFlag()
public java.lang.String getPackage()
public java.lang.String getSource()
public boolean getTestFlag()
public boolean getVerbFlag()
public void parse(java.lang.String[] args)
args[] - the commnad line arguments
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||