inpro.apps.util
Class CommonCommandLineParser
java.lang.Object
inpro.apps.util.CommonCommandLineParser
- Direct Known Subclasses:
- MonitorCommandLineParser, RecoCommandLineParser, RTPCommandLineParser, TextCommandLineParser
public abstract class CommonCommandLineParser
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNSPECIFIED_INPUT
public static final int UNSPECIFIED_INPUT
- See Also:
- Constant Field Values
FILE_INPUT
public static final int FILE_INPUT
- See Also:
- Constant Field Values
MICROPHONE_INPUT
public static final int MICROPHONE_INPUT
- See Also:
- Constant Field Values
RTP_INPUT
public static final int RTP_INPUT
- See Also:
- Constant Field Values
OAA_DISPATCHER_INPUT
public static final int OAA_DISPATCHER_INPUT
- See Also:
- Constant Field Values
DISPATCHER_OBJECT_INPUT
public static final int DISPATCHER_OBJECT_INPUT
- See Also:
- Constant Field Values
DISPATCHER_OBJECT_2_INPUT
public static final int DISPATCHER_OBJECT_2_INPUT
- See Also:
- Constant Field Values
NO_OUTPUT
public static final int NO_OUTPUT
- See Also:
- Constant Field Values
TED_OUTPUT
public static final int TED_OUTPUT
- See Also:
- Constant Field Values
LABEL_OUTPUT
public static final int LABEL_OUTPUT
- See Also:
- Constant Field Values
SPEAKER_OUTPUT
public static final int SPEAKER_OUTPUT
- See Also:
- Constant Field Values
FILE_OUTPUT
public static final int FILE_OUTPUT
- See Also:
- Constant Field Values
CURRHYP_OUTPUT
public static final int CURRHYP_OUTPUT
- See Also:
- Constant Field Values
DISPATCHER_OBJECT_OUTPUT
public static final int DISPATCHER_OBJECT_OUTPUT
- See Also:
- Constant Field Values
configURL
java.net.URL configURL
verbose
boolean verbose
success
boolean success
audioURL
java.net.URL audioURL
inputMode
int inputMode
outputMode
int outputMode
serverMode
boolean serverMode
CommonCommandLineParser
public CommonCommandLineParser(java.lang.String[] args)
printUsage
abstract void printUsage()
checkConfiguration
abstract boolean checkConfiguration()
parse
abstract void parse(java.lang.String[] args)
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
parsedSuccessfully
public boolean parsedSuccessfully()
verbose
public boolean verbose()
getConfigURL
public java.net.URL getConfigURL()
getAudioURL
public java.net.URL getAudioURL()
getInputMode
public int getInputMode()
isInputMode
public boolean isInputMode(int inputMode)
matchesOutputMode
public boolean matchesOutputMode(int mode)