public class GetOptNat
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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
|
boolean |
preserveTag
true if use with mozilla extension
|
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 and Description |
---|
GetOptNat(java.lang.String[] argv)
Constructor
Builds the GetOptNat object corresponding to the command line, if valid
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConfigFile()
get config file in command line with -c option
|
static java.lang.String |
getUsage()
get command line usage text
|
public boolean useTheGui
public boolean reverseTranscription
public boolean preserveTag
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
public GetOptNat(java.lang.String[] argv) throws GetOptNatException
argv
- list of command line argument valuesGetOptNatException
- , if the command line is not validpublic java.lang.String getConfigFile() throws GetOptNatException
GetOptNatException
- if no config file in configFiles
public static java.lang.String getUsage()