|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.fuin.utils4j.PropertiesFilePreferencesFactory
public final class PropertiesFilePreferencesFactory
A factory for creating root nodes using the
PropertiesFilePreferences implementation.
| Field Summary | |
|---|---|
static java.lang.String |
SYSTEM_PREF_DIR
System property key used containing the path and name of the "system" preferences directory. |
static java.lang.String |
USER_PREF_FILE
System property key used containing the path and name of the "user" preferences directory. |
| Constructor Summary | |
|---|---|
PropertiesFilePreferencesFactory()
Default constructor. |
|
PropertiesFilePreferencesFactory(java.lang.String systemPrefDir,
java.lang.String userPrefDir)
Constructor with path and filenames of the system and user root directories. |
|
| Method Summary | |
|---|---|
java.util.prefs.Preferences |
systemRoot()
|
java.util.prefs.Preferences |
userRoot()
|
| 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 SYSTEM_PREF_DIR
public static final java.lang.String USER_PREF_FILE
| Constructor Detail |
|---|
public PropertiesFilePreferencesFactory()
public PropertiesFilePreferencesFactory(java.lang.String systemPrefDir,
java.lang.String userPrefDir)
systemPrefDir - Path and name of the "system" preferences directory.userPrefDir - Path and name of the "user" preferences directory.| Method Detail |
|---|
public final java.util.prefs.Preferences systemRoot()
systemRoot in interface java.util.prefs.PreferencesFactorypublic final java.util.prefs.Preferences userRoot()
userRoot in interface java.util.prefs.PreferencesFactory
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||