public class PreferencesXML
extends java.lang.Object
Constructor and Description |
---|
PreferencesXML(java.io.File loadFile,
java.io.File saveFile) |
Modifier and Type | Method and Description |
---|---|
void |
load(java.util.List<java.lang.String> keys,
java.util.List<java.lang.String> values)
Loads the preferences from disk, from the specified file or, if the
file is null, it attempts to load from a prefs file bundled inside
the JAR (not supplied by default).
|
void |
save(java.util.List<java.lang.String> keys,
java.util.List<java.lang.String> values) |
public PreferencesXML(java.io.File loadFile, java.io.File saveFile)
public void load(java.util.List<java.lang.String> keys, java.util.List<java.lang.String> values)
public void save(java.util.List<java.lang.String> keys, java.util.List<java.lang.String> values) throws java.lang.Exception
java.lang.Exception