public final class DruidAppBase extends java.lang.Object implements AppPersistProvider
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
applicationName |
(package private) static java.lang.String |
defaultApplicationName |
(package private) static DruidAppBase |
instance |
(package private) Logger |
logger |
(package private) Settings |
settings |
Constructor and Description |
---|
DruidAppBase(java.lang.String ap) |
Modifier and Type | Method and Description |
---|---|
void |
addRecentFile(java.io.File f) |
void |
forceExit() |
java.lang.String |
getApplicationName() |
Logger |
getLogger() |
java.lang.String[] |
getRecentPaths() |
Settings |
getSettings() |
static DruidAppBase |
getSys() |
java.lang.String |
getValueFor(java.lang.String pel) |
boolean |
hasValue(java.lang.String pel,
java.lang.String val) |
boolean |
hasValueFor(java.lang.String pel) |
static void |
init() |
static void |
init(java.lang.String s,
java.lang.Object projroot) |
void |
requestExit() |
void |
setValue(java.lang.String lab,
java.lang.String val) |
static DruidAppBase instance
java.lang.String applicationName
Logger logger
Settings settings
static java.lang.String defaultApplicationName
public static void init()
public static void init(java.lang.String s, java.lang.Object projroot)
public static DruidAppBase getSys()
public java.lang.String getApplicationName()
public Settings getSettings()
public Logger getLogger()
public void requestExit()
public boolean hasValueFor(java.lang.String pel)
hasValueFor
in interface AppPersistProvider
public boolean hasValue(java.lang.String pel, java.lang.String val)
hasValue
in interface AppPersistProvider
public java.lang.String getValueFor(java.lang.String pel)
getValueFor
in interface AppPersistProvider
public void addRecentFile(java.io.File f)
addRecentFile
in interface AppPersistProvider
public void setValue(java.lang.String lab, java.lang.String val)
setValue
in interface AppPersistProvider
public java.lang.String[] getRecentPaths()
getRecentPaths
in interface AppPersistProvider
public void forceExit()
forceExit
in interface AppPersistProvider
Copyright © 2013. All Rights Reserved.