Update java library version numbers
[fw/altos] / altoslib / AltosPreferencesBackend.java
index a8cfb31bcd882db4ea11be1eda7420e5b23c146a..9f2e8f7c9541bf0945fd9291ca37701181fedc44 100644 (file)
@@ -15,7 +15,9 @@
  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
  */
 
-package org.altusmetrum.AltosLib;
+package org.altusmetrum.altoslib_10;
+
+import java.io.File;
 
 public interface AltosPreferencesBackend {
 
@@ -31,8 +33,18 @@ public interface AltosPreferencesBackend {
        public boolean getBoolean(String key, boolean def);
        public void    putBoolean(String key, boolean value);
 
+       public byte[]  getBytes(String key, byte[] def);
+       public void    putBytes(String key, byte[] value);
+
        public boolean nodeExists(String key);
        public AltosPreferencesBackend node(String key);
 
+       public String[] keys();
+       public void    remove(String key);
+
        public void    flush();
+
+       public File homeDirectory();
+
+       public void debug(String format, Object ... arguments);
 }