public class PreferencesUtils extends Object
| Constructor and Description |
|---|
PreferencesUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Boolean |
booleanValue(String s) |
static Code[] |
codeArray(Preferences prefs,
String key) |
static int[] |
intArray(Preferences prefs,
String key) |
static boolean |
nodeExists(Preferences prefs,
String pathName) |
static void |
removeKeys(Preferences prefs,
String key,
int from,
int to) |
static void |
removeNode(Preferences prefs,
String pathName) |
static void |
storeConnRefs(Preferences prefs,
List<Connection> connRefs,
List<Connection> devConns) |
static void |
storeDiff(Preferences prefs,
String key,
boolean prev,
boolean val,
boolean defVal) |
static <T> void |
storeDiff(Preferences prefs,
String key,
int[] prevs,
int[] vals) |
static void |
storeDiff(Preferences prefs,
String key,
int prev,
int val,
int defVal) |
static <T> void |
storeDiff(Preferences prefs,
String key,
T[] prevs,
T[] vals) |
static <T> void |
storeDiff(Preferences prefs,
String key,
T prev,
T val) |
static void |
storeDiffConnRefs(Preferences prefs,
List<Connection> prevConnRefs,
List<Connection> prevDevConns,
List<Connection> connRefs,
List<Connection> devConns) |
static void |
storeNotDef(Preferences prefs,
String key,
boolean val,
boolean defVal) |
static void |
storeNotDef(Preferences prefs,
String key,
int value,
int defVal) |
static void |
storeNotEmpty(Preferences prefs,
String key,
int[] values) |
static <T> void |
storeNotEmpty(Preferences prefs,
String key,
T[] values) |
static void |
storeNotNull(Preferences prefs,
String key,
Object value) |
static String[] |
stringArray(Preferences prefs,
String key) |
public static void removeKeys(Preferences prefs, String key, int from, int to)
public static void storeDiff(Preferences prefs, String key, int prev, int val, int defVal)
public static void storeDiff(Preferences prefs, String key, boolean prev, boolean val, boolean defVal)
public static <T> void storeDiff(Preferences prefs, String key, T prev, T val)
public static <T> void storeDiff(Preferences prefs, String key, T[] prevs, T[] vals)
public static <T> void storeDiff(Preferences prefs, String key, int[] prevs, int[] vals)
public static <T> void storeNotEmpty(Preferences prefs, String key, T[] values)
public static void storeNotEmpty(Preferences prefs, String key, int[] values)
public static void storeNotNull(Preferences prefs, String key, Object value)
public static void storeNotDef(Preferences prefs, String key, boolean val, boolean defVal)
public static void storeNotDef(Preferences prefs, String key, int value, int defVal)
public static String[] stringArray(Preferences prefs, String key)
public static Code[] codeArray(Preferences prefs, String key)
public static int[] intArray(Preferences prefs, String key)
public static void storeDiffConnRefs(Preferences prefs, List<Connection> prevConnRefs, List<Connection> prevDevConns, List<Connection> connRefs, List<Connection> devConns)
public static void storeConnRefs(Preferences prefs, List<Connection> connRefs, List<Connection> devConns)
public static boolean nodeExists(Preferences prefs, String pathName) throws ConfigurationException
ConfigurationExceptionpublic static void removeNode(Preferences prefs, String pathName) throws ConfigurationException
ConfigurationExceptionCopyright © 2014 dcm4che.org. All Rights Reserved.