Package com.sun.tools.xjc.util
Class Util
- java.lang.Object
-
- com.sun.tools.xjc.util.Util
-
public final class Util extends java.lang.ObjectOther 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(org.xml.sax.Locator lhs, org.xml.sax.Locator rhs)Compares if twoLocators point to the exact same position.static java.lang.StringgetSystemProperty(java.lang.Class clazz, java.lang.String name)Calls the other getSystemProperty method with "[clazz].[name].static java.lang.StringgetSystemProperty(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 twoLocators 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].
-
-