Class Prefs

    • Method Detail

      • get

        public static String get​(String name)
        Deprecated.
      • getBoolean

        public static boolean getBoolean​(String name,
                                         boolean defaultValue)
        Deprecated.
      • getDouble

        public static double getDouble​(String name,
                                       double defaultValue)
        Deprecated.
      • getFloat

        public static float getFloat​(String name,
                                     float defaultValue)
        Deprecated.
      • getInt

        public static int getInt​(String name,
                                 int defaultValue)
        Deprecated.
      • getLong

        public static long getLong​(String name,
                                   long defaultValue)
        Deprecated.
      • put

        public static void put​(String name,
                               String value)
        Deprecated.
      • put

        public static void put​(String name,
                               boolean value)
        Deprecated.
      • put

        public static void put​(String name,
                               double value)
        Deprecated.
      • put

        public static void put​(String name,
                               float value)
        Deprecated.
      • put

        public static void put​(String name,
                               int value)
        Deprecated.
      • put

        public static void put​(String name,
                               long value)
        Deprecated.
      • getBoolean

        public static boolean getBoolean​(Class<?> c,
                                         String name,
                                         boolean defaultValue)
        Deprecated.
      • getDouble

        public static double getDouble​(Class<?> c,
                                       String name,
                                       double defaultValue)
        Deprecated.
      • getFloat

        public static float getFloat​(Class<?> c,
                                     String name,
                                     float defaultValue)
        Deprecated.
      • getInt

        public static int getInt​(Class<?> c,
                                 String name,
                                 int defaultValue)
        Deprecated.
      • getLong

        public static long getLong​(Class<?> c,
                                   String name,
                                   long defaultValue)
        Deprecated.
      • put

        public static void put​(Class<?> c,
                               String name,
                               String value)
        Deprecated.
      • put

        public static void put​(Class<?> c,
                               String name,
                               boolean value)
        Deprecated.
      • put

        public static void put​(Class<?> c,
                               String name,
                               double value)
        Deprecated.
      • put

        public static void put​(Class<?> c,
                               String name,
                               float value)
        Deprecated.
      • put

        public static void put​(Class<?> c,
                               String name,
                               int value)
        Deprecated.
      • put

        public static void put​(Class<?> c,
                               String name,
                               long value)
        Deprecated.
      • clear

        public static void clear​(Class<?> c)
        Deprecated.
      • clearAll

        public static void clearAll()
        Deprecated.
        Clears everything.
      • clear

        public static void clear​(String key)
        Deprecated.
        Clears the node.
      • clear

        public static void clear​(Preferences preferences,
                                 String key)
        Deprecated.
      • remove

        public static void remove​(Preferences preferences,
                                  String key)
        Deprecated.
        Removes the node.
      • putMap

        public static void putMap​(Map<String,​String> map,
                                  String key)
        Deprecated.
        Puts a map into the preferences.
      • putMap

        public static void putMap​(Preferences preferences,
                                  Map<String,​String> map)
        Deprecated.
        Puts a map into the preferences.
      • getMap

        public static Map<String,​String> getMap​(String key)
        Deprecated.
        Gets a Map from the preferences.
      • putList

        public static void putList​(List<String> list,
                                   String key)
        Deprecated.
        Puts a list into the preferences.
      • putList

        public static void putList​(Preferences preferences,
                                   List<String> list)
        Deprecated.
        Puts a list into the preferences.
      • getList

        public static List<String> getList​(String key)
        Deprecated.
        Gets a List from the preferences.
      • getList

        public static List<String> getList​(Preferences preferences)
        Deprecated.
        Gets a List from the preferences. Returns an empty list if nothing in prefs.
      • setDelegateService

        public static void setDelegateService​(PrefService prefService,
                                              double priority)
        Deprecated.
        Sets the PrefService