Class PrefUtil


  • public final class PrefUtil
    extends Object
    • Method Detail

      • userNodeExists

        public static boolean userNodeExists​(Class<?> pClass,
                                             String... pKeys)
        Determines whether user node exists for the specified class and keys.
      • userNodeExists

        public static boolean userNodeExists​(String pNodeName)
        Determines whether user node exists for the specified absolute path name of node.
      • systemNodeExists

        public static boolean systemNodeExists​(Class<?> pClass,
                                               String... pKeys)
        Determines whether system node exists for the specified class and keys.
      • systemNodeExists

        public static boolean systemNodeExists​(String pNodeName)
        Determines whether user node exists for the specified absolute path name of node.
      • getNodeName

        public static String getNodeName​(Class<?> pClass,
                                         String... pKeys)
        Returns the absolute path name of the node corresponding to the specified class and keys.
      • getScreenConfigString

        public static String getScreenConfigString()
        Get a string that uniquely identifies a monitor configuration. If monitor count or resolution change, a different String will be returned.