gui
Class CalendarConfiguration
java.lang.Object
gui.CalendarConfiguration
public class CalendarConfiguration
- extends java.lang.Object
Class for getting global parameter settings for the application.
These parameters are taken from the file "calendar.prop".
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
configuration
private java.util.Properties configuration
languageNames
private java.lang.String[] languageNames
appLanguages
private Language[] appLanguages
globalProcesses
private java.lang.String[] globalProcesses
appLanguage
private Language appLanguage
dialogueServerHost
private java.lang.String dialogueServerHost
dialogueServerPort
private int dialogueServerPort
dialogueServerCharset
private java.nio.charset.Charset dialogueServerCharset
CalendarConfiguration
public CalendarConfiguration(java.lang.String configFile)
- Parameters:
configFile
-
initAvailableLanguages
private java.lang.String[] initAvailableLanguages()
- Extract names of languages from config file
getLanguageByName
Language getLanguageByName(java.lang.String langName)
throws java.lang.Exception
- Throws:
java.lang.Exception
getAvailableLanguages
public Language[] getAvailableLanguages()
getProcessHandlerLibrary
public java.lang.String getProcessHandlerLibrary()
getDialogueNoHelpSentences
public int getDialogueNoHelpSentences()
initGlobalProcesses
public void initGlobalProcesses()
getGlobalProcesses
public java.lang.String[] getGlobalProcesses()
getWaveformLoggingDirectory
public java.lang.String getWaveformLoggingDirectory()
getRecognitionNBest
public int getRecognitionNBest()
getVocalizerKillWaitTime
public long getVocalizerKillWaitTime()
getStartupRecognitionServerWaitTime
public long getStartupRecognitionServerWaitTime()
- Returns:
getStartupDialogServerWaitTime
public long getStartupDialogServerWaitTime()
- Returns:
getRegulusServerPort
public int getRegulusServerPort()
getRegulusServerHost
public java.lang.String getRegulusServerHost()
getRegulusServerTimeOut
public long getRegulusServerTimeOut()
getDialogServerCommand
public java.lang.String getDialogServerCommand()
getDialogPackage
public java.lang.String getDialogPackage(java.lang.String language)
getRegulusServerCommand
public java.lang.String getRegulusServerCommand()
showInlineHelp
public boolean showInlineHelp()
- Returns:
computeXCPURT
public boolean computeXCPURT()
- Returns:
showRawRecognitionResult
public boolean showRawRecognitionResult()
- Returns:
getDialogueServerStartingTime
public int getDialogueServerStartingTime()
getConfiguration
public java.util.Properties getConfiguration()
- Returns:
getDefaultFontName
public java.lang.String getDefaultFontName()
getDefaultFontSize
public int getDefaultFontSize()
getDialogueServerHost
public java.lang.String getDialogueServerHost()
getDialogueServerPort
public int getDialogueServerPort()
getDialogueServerCharset
public java.nio.charset.Charset getDialogueServerCharset()