|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.resources.Utilities
A set of miscellaneous methods.
| Method Summary | |
static boolean |
equals(java.lang.Object object1,
java.lang.Object object2)
Convenience method for testing two objects for equality. |
static java.lang.String |
getShortClassName(java.lang.Object object)
Returns a short class name for the specified object. |
static java.lang.String |
getShortName(java.lang.Class classe)
Returns a short class name for the specified class. |
static boolean |
sameInterfaces(java.lang.Class object1,
java.lang.Class object2,
java.lang.Class base)
Returns if the two specified objects implements exactly the same set of interfaces. |
static java.lang.String |
spaces(int length)
Returns a string of the specified length filled with white spaces. |
static void |
unexpectedException(java.lang.String paquet,
java.lang.String classe,
java.lang.String method,
java.lang.Throwable error)
Invoked when an unexpected error occurs. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static boolean equals(java.lang.Object object1,
java.lang.Object object2)
public static boolean sameInterfaces(java.lang.Class object1,
java.lang.Class object2,
java.lang.Class base)
if (sameInterfaces(cs1, cs2, CoordinateSystem.class))
public static java.lang.String spaces(int length)
length - The string length. Negative values are clamped to 0.
public static java.lang.String getShortName(java.lang.Class classe)
String object. It will also name
array according Java language usage, for example "double[]" instead
of "[D".
classe - The object class (may be ).
public static java.lang.String getShortClassName(java.lang.Object object)
String object.
object - The object (may be ).
public static void unexpectedException(java.lang.String paquet,
java.lang.String classe,
java.lang.String method,
java.lang.Throwable error)
paquet - The package where the error occurred. This information
may be used to fetch an appropriate Logger for
logging the error.classe - The class name where the error occurred.method - The method name where the error occurred.error - The error.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||