|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnat.GetOptNat
public class GetOptNat
Get nats command line attribute ensuring consistency by throwing a GetOptNatException when it's incorrect.
| Field Summary | |
|---|---|
java.util.ArrayList<java.lang.String> |
configFiles
filename of the configuration file passed in the command line |
java.util.ArrayList<java.lang.String> |
fromFiles
List of filenames to be transcribed as passed in the command line |
java.lang.Boolean |
quiet
no verbosity asked in the command line |
boolean |
reverseTranscription
true if asked for reverse transcription |
java.util.ArrayList<java.lang.String> |
toFiles
List of filenames of transcription results passed in the command line |
boolean |
useTheGui
true if the command line asks for the gui |
| Constructor Summary | |
|---|---|
GetOptNat(java.lang.String[] argv)
Constructor Builds the GetOptNat object corresponding to the command line, if valid |
|
| Method Summary | |
|---|---|
java.lang.String |
getConfigFile()
get config file in command line with -c option |
static java.lang.String |
getUsage()
get command line usage text |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public boolean useTheGui
public boolean reverseTranscription
public java.util.ArrayList<java.lang.String> fromFiles
public java.util.ArrayList<java.lang.String> toFiles
public java.util.ArrayList<java.lang.String> configFiles
public java.lang.Boolean quiet
| Constructor Detail |
|---|
public GetOptNat(java.lang.String[] argv)
throws GetOptNatException
argv - list of command line argument values
GetOptNatException - , if the command line is not valid| Method Detail |
|---|
public java.lang.String getConfigFile()
throws GetOptNatException
GetOptNatException - if no config file in configFilespublic static java.lang.String getUsage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||