Class 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)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PreferencesXML

        public PreferencesXML​(java.io.File loadFile,
                              java.io.File saveFile)
    • 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