gui
Class RegSettings
java.lang.Object
gui.RegSettings
class RegSettings
- extends java.lang.Object
Application parameter settings, which are specific for communicating with regserver)
Constructor Summary |
RegSettings(java.lang.String languageName,
java.util.Properties pConfig)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static java.util.logging.Logger logger
languageName
private java.lang.String languageName
recPackage
private java.lang.String recPackage
isSLMSelected
private boolean isSLMSelected
recStringEncoding
private java.lang.String recStringEncoding
isOutputLanguage
private boolean isOutputLanguage
isUsingTTS
private boolean isUsingTTS
playbackParameters
private java.lang.String playbackParameters
config
private final java.util.Properties config
RegSettings
public RegSettings(java.lang.String languageName,
java.util.Properties pConfig)
getRecognitionPackage
public java.lang.String getRecognitionPackage()
getRecognitionClientParameters
public java.lang.String[] getRecognitionClientParameters()
getSLMGrammar
public java.lang.String getSLMGrammar()
getSLMRecognitionClientParameters
public java.lang.String[] getSLMRecognitionClientParameters()
getGLMRecognitionClientParameters
public java.lang.String[] getGLMRecognitionClientParameters()
getLanguageName
public java.lang.String getLanguageName()
getRecognitionStringEncoding
public java.lang.String getRecognitionStringEncoding()
isInputLanguage
public boolean isInputLanguage()
isOutputLangauge
public boolean isOutputLangauge()
isUsingTTS
public boolean isUsingTTS()
getGLMGrammar
public java.lang.String getGLMGrammar()
equals
public boolean equals(RegSettings lang)
- Returns true if the two langauges have the same name.
- Parameters:
lang
-
- Returns:
hasGLMGrammar
public boolean hasGLMGrammar()
throws java.lang.Exception
- Throws:
java.lang.Exception
hasSLMGrammar
public boolean hasSLMGrammar()
isSLMSelected
public boolean isSLMSelected()
setSLMSelected
public void setSLMSelected(boolean selected)
isSuportingTalkback
public boolean isSuportingTalkback()
- Returns:
getPlaybackParameters
public java.lang.String getPlaybackParameters()
- Returns: