Class Util

java.lang.Object
com.sun.tools.xjc.util.Util

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

    • getSystemProperty

      public static String getSystemProperty(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(Locator lhs, Locator rhs)
      Compares if two Locators point to the exact same position.
    • getSystemProperty

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