public final class PropertiesFilePreferencesFactory
extends java.lang.Object
implements java.util.prefs.PreferencesFactory
PropertiesFilePreferences implementation.| Modifier and Type | Field and Description |
|---|---|
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_DIR
System property key used containing the path and name of the "user"
preferences directory.
|
| Constructor and Description |
|---|
PropertiesFilePreferencesFactory()
Default constructor.
|
PropertiesFilePreferencesFactory(java.lang.String systemPrefDir,
java.lang.String userPrefDir)
Constructor with path and filenames of the system and user root
directories.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.prefs.Preferences |
systemRoot() |
java.util.prefs.Preferences |
userRoot() |
public static final java.lang.String SYSTEM_PREF_DIR
public static final java.lang.String USER_PREF_DIR
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.