java.lang.Object
com.iamsoft.util.ui.javafx.prefs.PrefUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetNodeName(Class<?> pClass, String... pKeys) Returns the absolute path name of the node corresponding to the specified class and keys.static StringGet a string that uniquely identifies a monitor configuration.static PreferencesgetSysNode(Class<?> pClass, String... pKeys) Get user preferences object for specified node and path.static PreferencesgetUserNode(Class<?> pClass, String... pKeys) Get user preferences object for specified node and path.static Stringstatic StringIf string length greater than Preferences.MAX_KEY_LENGTH, return hash (md5(String)).static booleansystemNodeExists(Class<?> pClass, String... pKeys) Determines whether system node exists for the specified class and keys.static booleansystemNodeExists(String pNodeName) Determines whether user node exists for the specified absolute path name of node.static booleanuserNodeExists(Class<?> pClass, String... pKeys) Determines whether user node exists for the specified class and keys.static booleanuserNodeExists(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
-