|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectimcode.util.Prefs
public class Prefs
Used to load preferences from file. Caches the preferences, so each file is opened only once.
| Method Summary | |
|---|---|
static void |
flush()
Flushes the cache, causing the files to be loaded again, when they are needed. |
static java.util.Properties |
getProperties(java.lang.String file)
Get Properties from a config file. |
static void |
setConfigPath(java.io.File confPath)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void setConfigPath(java.io.File confPath)
public static void flush()
public static java.util.Properties getProperties(java.lang.String file)
throws java.io.IOException
file - The file in the config directory to load from.
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||