com.sun.tools.xjc.util
Class Util

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

public final class Util
extends Object

Other miscellaneous utility methods.


Method Summary
static boolean equals(Locator lhs, Locator rhs)
          Compares if two Locators point to the exact same position.
static String getSystemProperty(Class clazz, String name)
          Calls the other getSystemProperty method with "[clazz].[name].
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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].