Class Util


  • public final class Util
    extends java.lang.Object
    Other miscellaneous utility methods.
    Author:
    Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean equals​(org.xml.sax.Locator lhs, org.xml.sax.Locator rhs)
      Compares if two Locators point to the exact same position.
      static java.lang.String getSystemProperty​(java.lang.Class clazz, java.lang.String name)
      Calls the other getSystemProperty method with "[clazz].[name].
      static java.lang.String getSystemProperty​(java.lang.String name)
      An easier-to-use version of the System.getProperty method that doesn't throw an exception even if a property cannot be read.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getSystemProperty

        public static java.lang.String getSystemProperty​(java.lang.String name)
        An easier-to-use version of the System.getProperty method that doesn't throw an exception even if a property cannot be read.
      • equals

        public static boolean equals​(org.xml.sax.Locator lhs,
                                     org.xml.sax.Locator rhs)
        Compares if two Locators point to the exact same position.
      • getSystemProperty

        public static java.lang.String getSystemProperty​(java.lang.Class clazz,
                                                         java.lang.String name)
        Calls the other getSystemProperty method with "[clazz].[name].