Package com.sun.tools.xjc.util
Class Util
- java.lang.Object
-
- com.sun.tools.xjc.util.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 twoLocator
s 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.
-
-
-
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 twoLocator
s 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].
-
-