- java.lang.Object
-
- com.sun.tools.xjc.util.Util
-
public final class Util extends Object
Other miscellaneous utility methods.- Author:
- Kohsuke Kawaguchi ([email protected])
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
equals(Locator lhs, Locator rhs)
Compares if twoLocator
s 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.
-
-
-
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 twoLocator
s point to the exact same position.
-
-