|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jomic.common.StartupTools
public final class StartupTools
Utility methods used during the early startup. At that the time the following things are not available yet:
Field Summary | |
---|---|
static java.lang.String |
SPLASH_RESOURCE
Image resource for the splash screen. |
Method Summary | |
---|---|
void |
disposeSplashScreen(SplashScreen splashScreen)
Dispose the splash screen in the event handling thread. |
java.io.File |
getSettingsDir()
Get file where the settings are stored. |
java.io.File |
getSettingsFile(java.lang.String baseName)
Get file where the settings are stored. |
static StartupTools |
instance()
|
void |
log(java.lang.String message,
long time)
Log message with a timestamp time to System.out . |
void |
logDuration(java.lang.String message)
Log message to System.out and append the duration since startup. |
SplashScreen |
openSplashScreen()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SPLASH_RESOURCE
SplashScreen
,
Constant Field ValuesMethod Detail |
---|
public java.io.File getSettingsDir()
public java.io.File getSettingsFile(java.lang.String baseName)
public static StartupTools instance()
public void disposeSplashScreen(SplashScreen splashScreen)
public void log(java.lang.String message, long time)
message
with a timestamp time
to System.out
.
public void logDuration(java.lang.String message)
message
to System.out
and append the duration since startup.
public SplashScreen openSplashScreen()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |