- 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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanequals(Locator lhs, Locator rhs)Compares if twoLocators point to the exact same position.static StringgetSystemProperty(Class<?> clazz, String name)Calls the other getSystemProperty method with "[clazz].[name].static StringgetSystemProperty(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.
-
-
-
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 twoLocators point to the exact same position.
-
-