gui
Class RegSettings

java.lang.Object
  extended by gui.RegSettings

 class RegSettings
extends java.lang.Object

Application parameter settings, which are specific for communicating with regserver)


Field Summary
private  java.util.Properties config
           
private  boolean isOutputLanguage
           
private  boolean isSLMSelected
           
private  boolean isUsingTTS
           
private  java.lang.String languageName
           
private static java.util.logging.Logger logger
           
private  java.lang.String playbackParameters
           
private  java.lang.String recPackage
           
private  java.lang.String recStringEncoding
           
 
Constructor Summary
RegSettings(java.lang.String languageName, java.util.Properties pConfig)
           
 
Method Summary
 boolean equals(RegSettings lang)
          Returns true if the two langauges have the same name.
 java.lang.String getGLMGrammar()
           
 java.lang.String[] getGLMRecognitionClientParameters()
           
 java.lang.String getLanguageName()
           
 java.lang.String getPlaybackParameters()
           
 java.lang.String[] getRecognitionClientParameters()
           
 java.lang.String getRecognitionPackage()
           
 java.lang.String getRecognitionStringEncoding()
           
 java.lang.String getSLMGrammar()
           
 java.lang.String[] getSLMRecognitionClientParameters()
           
 boolean hasGLMGrammar()
           
 boolean hasSLMGrammar()
           
 boolean isInputLanguage()
           
 boolean isOutputLangauge()
           
 boolean isSLMSelected()
           
 boolean isSuportingTalkback()
           
 boolean isUsingTTS()
           
 void setSLMSelected(boolean selected)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

RegSettings

public RegSettings(java.lang.String languageName,
                   java.util.Properties pConfig)
Method Detail

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: