|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.model.csct.resources.Utilities
public final class Utilities
A set of miscellaneous methods.
| Method Summary | |
|---|---|
static boolean |
equals(Object object1,
Object object2)
Convenience method for testing two objects for equality. |
static String |
getShortClassName(Object object)
Returns a short class name for the specified object. |
static String |
getShortName(Class classe)
Returns a short class name for the specified class. |
static boolean |
isSubScript(char c)
Determines whether the character is a subscript. |
static boolean |
isSuperScript(char c)
Determines whether the character is a superscript. |
static String |
spaces(int length)
Returns a string of the specified length filled with white spaces. |
static char |
toNormalScript(char c)
Converts the character argument to normal script. |
static char |
toSubScript(char c)
Converts the character argument to subscript. |
static char |
toSuperScript(char c)
Converts the character argument to superscript. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isSuperScript(char c)
⁰ ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ ⁺ ⁻ ⁼ ⁽ ⁾ ⁿ
public static boolean isSubScript(char c)
₀ ₁ ₂ ₃ ₄ ₅ ₆ ₇ ₈ ₉ ₊ ₋ ₌ ₍ ₎
public static char toSuperScript(char c)
0 1 2 3 4 5 6 7 8 9 + - = ( ) n
public static char toSubScript(char c)
0 1 2 3 4 5 6 7 8 9 + - = ( ) n
public static char toNormalScript(char c)
public static String spaces(int length)
length - The string length. Negative values are clamp to 0.
length filled with with spaces.public static String getShortName(Class classe)
String object.
classe - The object (may be null).
public static String getShortClassName(Object object)
String object.
object - The object (may be null).
public static boolean equals(Object object1,
Object object2)
|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net