|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.util.ApplicationConfig
org.chorem.lima.LimaConfig
public class LimaConfig
La configuration de l'application.
| Nested Class Summary | |
|---|---|
static class |
LimaConfig.Action
Lima action definition. |
static class |
LimaConfig.Option
Lima option definition. |
| Nested classes/interfaces inherited from class org.nuiton.util.ApplicationConfig |
|---|
org.nuiton.util.ApplicationConfig.CacheItem<T>, org.nuiton.util.ApplicationConfig.OptionDef |
| Field Summary | |
|---|---|
static String[] |
DEFAULT_JAXX_PCS
Used in ???? |
protected static LimaConfig |
instance
|
protected org.nuiton.util.Version |
version
La version du logiciel. |
| Fields inherited from class org.nuiton.util.ApplicationConfig |
|---|
actions, ADJUSTING_PROPERTY, aliases, APP_NAME, cacheAction, cacheOption, classpath, CONFIG_FILE_NAME, CONFIG_PATH, curfile, defaults, env, etcfile, homefile, inParseOptionPhase, jvm, line, options, osName, pcs, unparsed, useOnlyAliases, userPath |
| Constructor Summary | |
|---|---|
LimaConfig()
Lima config constructor. |
|
| Method Summary | |
|---|---|
String |
getCopyrightText()
Get copyrighy text (include version). |
String |
getHostAdress()
|
static LimaConfig |
getInstance()
|
Locale |
getLocale()
Get application locale. |
String |
getSupportEmail()
Get support email address. |
String |
getVersion()
Version as string. |
boolean |
isEJBRemoteMode()
Return true if ejb mode is configured as remote. |
boolean |
isFullScreen()
|
boolean |
isLaunchui()
Launch ui configuration value. |
protected void |
loadConfiguration(String configFileName)
|
void |
parse(String[] args)
|
void |
removeJaxxPropertyChangeListener()
Used in ???? |
void |
setFullscreen(boolean fullscreen)
Change full screen mode. |
void |
setLaunchui(String launchui)
Launch ui setter for command line parameters. |
void |
setLocale(Locale newLocale)
Change locale (not command line version). |
void |
setLocale(String locale)
Locale setter for command line parameters. |
| Methods inherited from class org.nuiton.util.ApplicationConfig |
|---|
addAction, addActionAlias, addAlias, addPropertyChangeListener, addPropertyChangeListener, createAction, doAction, firePropertyChange, getConfigFileName, getConfigFileNameOption, getConfigPath, getFlatOptions, getFlatOptions, getMethods, getOption, getOption, getOption, getOptionAsBoolean, getOptionAsClass, getOptionAsDate, getOptionAsDouble, getOptionAsFile, getOptionAsInt, getOptionAsTime, getOptionAsTimestamp, getOptionAsURL, getOptions, getOptionStartsWith, getParams, getPropertyChangeListeners, getPropertyChangeListeners, getSystemConfigFile, getSystemConfigurationPath, getUnparsed, getUserConfigFile, getUserHome, getUsername, getUserPath, hasListeners, installSaveUserAction, isAdjusting, isUseOnlyAliases, migrateUserConfigurationFile, printConfig, printConfig, removePropertyChangeListener, removePropertyChangeListener, replaceRecursiveOptions, save, saveForSystem, saveForUser, setAdjusting, setAppName, setConfigFileName, setDefaultOption, setOption, setOptions, setUseOnlyAliases |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static LimaConfig instance
protected org.nuiton.util.Version version
public static final String[] DEFAULT_JAXX_PCS
| Constructor Detail |
|---|
public LimaConfig()
| Method Detail |
|---|
public String getCopyrightText()
public String getVersion()
public static LimaConfig getInstance()
protected void loadConfiguration(String configFileName)
public void parse(String[] args)
throws org.nuiton.util.ArgumentsParserException
parse in class org.nuiton.util.ApplicationConfigorg.nuiton.util.ArgumentsParserExceptionpublic Locale getLocale()
public void setLocale(String locale)
locale - new localepublic void setLocale(Locale newLocale)
newLocale - new localepublic boolean isLaunchui()
true if ui must be displayedpublic void setLaunchui(String launchui)
launchui - new lauch ui valuepublic void setFullscreen(boolean fullscreen)
fullscreen - new fullscreen modepublic boolean isFullScreen()
public String getSupportEmail()
public boolean isEJBRemoteMode()
true if remote mode should be usedpublic String getHostAdress()
public void removeJaxxPropertyChangeListener()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||