Class AttachablePreferences

    • Constructor Detail

      • AttachablePreferences

        public AttachablePreferences()
      • AttachablePreferences

        public AttachablePreferences​(org.osgi.service.prefs.Preferences parent,
                                     String name)
    • Method Detail

      • absolutePath

        public String absolutePath()
        Specified by:
        absolutePath in interface org.osgi.service.prefs.Preferences
      • childrenNames

        public String[] childrenNames()
                               throws org.osgi.service.prefs.BackingStoreException
        Specified by:
        childrenNames in interface org.osgi.service.prefs.Preferences
        Throws:
        org.osgi.service.prefs.BackingStoreException
      • clear

        public void clear()
                   throws org.osgi.service.prefs.BackingStoreException
        Specified by:
        clear in interface org.osgi.service.prefs.Preferences
        Throws:
        org.osgi.service.prefs.BackingStoreException
      • flush

        public void flush()
                   throws org.osgi.service.prefs.BackingStoreException
        Specified by:
        flush in interface org.osgi.service.prefs.Preferences
        Throws:
        org.osgi.service.prefs.BackingStoreException
      • get

        public String get​(String arg0,
                          String arg1)
        Specified by:
        get in interface org.osgi.service.prefs.Preferences
      • getBoolean

        public boolean getBoolean​(String arg0,
                                  boolean arg1)
        Specified by:
        getBoolean in interface org.osgi.service.prefs.Preferences
      • getByteArray

        public byte[] getByteArray​(String arg0,
                                   byte[] arg1)
        Specified by:
        getByteArray in interface org.osgi.service.prefs.Preferences
      • getDouble

        public double getDouble​(String arg0,
                                double arg1)
        Specified by:
        getDouble in interface org.osgi.service.prefs.Preferences
      • getFloat

        public float getFloat​(String arg0,
                              float arg1)
        Specified by:
        getFloat in interface org.osgi.service.prefs.Preferences
      • getInt

        public int getInt​(String arg0,
                          int arg1)
        Specified by:
        getInt in interface org.osgi.service.prefs.Preferences
      • getLong

        public long getLong​(String arg0,
                            long arg1)
        Specified by:
        getLong in interface org.osgi.service.prefs.Preferences
      • keys

        public String[] keys()
                      throws org.osgi.service.prefs.BackingStoreException
        Specified by:
        keys in interface org.osgi.service.prefs.Preferences
        Throws:
        org.osgi.service.prefs.BackingStoreException
      • name

        public String name()
        Specified by:
        name in interface org.osgi.service.prefs.Preferences
      • node

        public org.osgi.service.prefs.Preferences node​(String arg0)
        Specified by:
        node in interface org.osgi.service.prefs.Preferences
      • nodeExists

        public boolean nodeExists​(String arg0)
                           throws org.osgi.service.prefs.BackingStoreException
        Specified by:
        nodeExists in interface org.osgi.service.prefs.Preferences
        Throws:
        org.osgi.service.prefs.BackingStoreException
      • parent

        public org.osgi.service.prefs.Preferences parent()
        Specified by:
        parent in interface org.osgi.service.prefs.Preferences
      • put

        public void put​(String arg0,
                        String arg1)
        Specified by:
        put in interface org.osgi.service.prefs.Preferences
      • putBoolean

        public void putBoolean​(String arg0,
                               boolean arg1)
        Specified by:
        putBoolean in interface org.osgi.service.prefs.Preferences
      • putByteArray

        public void putByteArray​(String arg0,
                                 byte[] arg1)
        Specified by:
        putByteArray in interface org.osgi.service.prefs.Preferences
      • putDouble

        public void putDouble​(String arg0,
                              double arg1)
        Specified by:
        putDouble in interface org.osgi.service.prefs.Preferences
      • putFloat

        public void putFloat​(String arg0,
                             float arg1)
        Specified by:
        putFloat in interface org.osgi.service.prefs.Preferences
      • putInt

        public void putInt​(String arg0,
                           int arg1)
        Specified by:
        putInt in interface org.osgi.service.prefs.Preferences
      • putLong

        public void putLong​(String arg0,
                            long arg1)
        Specified by:
        putLong in interface org.osgi.service.prefs.Preferences
      • remove

        public void remove​(String arg0)
        Specified by:
        remove in interface org.osgi.service.prefs.Preferences
      • removeNode

        public void removeNode()
                        throws org.osgi.service.prefs.BackingStoreException
        Specified by:
        removeNode in interface org.osgi.service.prefs.Preferences
        Throws:
        org.osgi.service.prefs.BackingStoreException
      • sync

        public void sync()
                  throws org.osgi.service.prefs.BackingStoreException
        Specified by:
        sync in interface org.osgi.service.prefs.Preferences
        Throws:
        org.osgi.service.prefs.BackingStoreException