gui
Class Language

java.lang.Object
  extended by gui.Language

public class Language
extends java.lang.Object

Application parameter settings. (Rather application parameter settings, which are specific for communicating with the regserver)


Field Summary
private  java.util.Properties config
           
private  java.lang.String dialogueServerPackage
           
private  boolean isSLMSelected
           
private  boolean isUsingTTS
           
private  int languageIndex
           
private  java.lang.String languageName
           
private static java.util.logging.Logger logger
           
private  java.lang.String playbackParameters
           
private  java.lang.String recognitionPackage
           
private  java.lang.String recognitionStringEncoding
           
 
Constructor Summary
Language(java.lang.String languageName, java.util.Properties pConfig)
           
 
Method Summary
 boolean equals(Language lang)
          Returns true if the two languages have the same name.
 java.lang.String getDialogPackage()
           
 java.lang.String getDialogServerPackage()
           
 java.lang.String getGLMGrammar()
           
 java.lang.String[] getGLMRecognitionClientParameters()
           
 int getLanguageIndex()
           
 int getLanguageIndex(java.lang.String languageName)
           
 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 isImplementedLanguage()
           
 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

languageIndex

private int languageIndex

recognitionPackage

private java.lang.String recognitionPackage

isSLMSelected

private boolean isSLMSelected

recognitionStringEncoding

private java.lang.String recognitionStringEncoding

isUsingTTS

private boolean isUsingTTS

playbackParameters

private java.lang.String playbackParameters

dialogueServerPackage

private java.lang.String dialogueServerPackage

config

private final java.util.Properties config
Constructor Detail

Language

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

getRecognitionPackage

public java.lang.String getRecognitionPackage()

getDialogServerPackage

public java.lang.String getDialogServerPackage()

getDialogPackage

public java.lang.String getDialogPackage()

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()

getLanguageIndex

public int getLanguageIndex()

getLanguageIndex

public int getLanguageIndex(java.lang.String languageName)

getRecognitionStringEncoding

public java.lang.String getRecognitionStringEncoding()

isImplementedLanguage

public boolean isImplementedLanguage()

isUsingTTS

public boolean isUsingTTS()

getGLMGrammar

public java.lang.String getGLMGrammar()

equals

public boolean equals(Language lang)
Returns true if the two languages 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: