Package org.omegat.util
Class PreferencesXML
- java.lang.Object
-
- org.omegat.util.PreferencesXML
-
public class PreferencesXML extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PreferencesXML(java.io.File loadFile, java.io.File saveFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
load
public 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).
-
save
public void save(java.util.List<java.lang.String> keys, java.util.List<java.lang.String> values) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-