Top Description Constructors Methods
com.sun.tools.xjc.util

public final Class Util

extends Object
Class Inheritance
Imports
org.xml.sax.Locator

Other miscellaneous utility methods.
Author
Kohsuke Kawaguchi ([email protected])

Constructor Summary

AccessConstructor and Description
private
Util()

Method Summary

Modifier and TypeMethod and Description
public static boolean
equals(Locator lhs, Locator rhs)

Compares if two Locators point to the exact same position.

private static boolean
equals(String lhs, String rhs)

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.

public static String
getSystemProperty(Class<?> clazz, String name)

Calls the other getSystemProperty method with "[clazz].[name].

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Utilback to summary
private Util()

Method Detail

equalsback to summary
public static boolean equals(Locator lhs, Locator rhs)

Compares if two Locators point to the exact same position.

equalsback to summary
private static boolean equals(String lhs, String rhs)
getSystemPropertyback to summary
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.

getSystemPropertyback to summary
public static String getSystemProperty(Class<?> clazz, String name)

Calls the other getSystemProperty method with "[clazz].[name].