java.lang.Object
com.iamsoft.util.ui.javafx.prefs.PrefUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getNodeName
(Class<?> pClass, String... pKeys) Returns the absolute path name of the node corresponding to the specified class and keys.static String
Get a string that uniquely identifies a monitor configuration.static Preferences
getSysNode
(Class<?> pClass, String... pKeys) Get user preferences object for specified node and path.static Preferences
getUserNode
(Class<?> pClass, String... pKeys) Get user preferences object for specified node and path.static String
static String
If string length greater than Preferences.MAX_KEY_LENGTH, return hash (md5(String)).static boolean
systemNodeExists
(Class<?> pClass, String... pKeys) Determines whether system node exists for the specified class and keys.static boolean
systemNodeExists
(String pNodeName) Determines whether user node exists for the specified absolute path name of node.static boolean
userNodeExists
(Class<?> pClass, String... pKeys) Determines whether user node exists for the specified class and keys.static boolean
userNodeExists
(String pNodeName) Determines whether user node exists for the specified absolute path name of node.
-
Method Details
-
getUserNode
Get user preferences object for specified node and path. -
getSysNode
Get user preferences object for specified node and path. -
userNodeExists
Determines whether user node exists for the specified class and keys. -
userNodeExists
Determines whether user node exists for the specified absolute path name of node. -
systemNodeExists
Determines whether system node exists for the specified class and keys. -
systemNodeExists
Determines whether user node exists for the specified absolute path name of node. -
getNodeName
Returns the absolute path name of the node corresponding to the specified class and keys. -
getScreenConfigString
Get a string that uniquely identifies a monitor configuration. If monitor count or resolution change, a different String will be returned. -
shrinkKey
If string length greater than Preferences.MAX_KEY_LENGTH, return hash (md5(String)). Otherwise, return input string. -
md5
-