|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.ejtools.util.ClassTools
Utility class to handle Class realted stuff.
Constructor Summary | |
ClassTools()
|
Method Summary | |
static java.lang.String |
classDisplay(java.lang.String className)
Pretty print a full qualified class name. |
static java.lang.Class |
getClass(java.lang.String fullPathClassName)
Get the class by its name. |
static double |
getValue(java.lang.Object o)
Get the double value from a numeric class |
static boolean |
isNumeric(java.lang.Class clazz)
Return whether or not a class is numeric |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ClassTools()
Method Detail |
public static java.lang.String classDisplay(java.lang.String className)
className
- The fully qualified class name
public static java.lang.Class getClass(java.lang.String fullPathClassName)
fullPathClassName
- The full qualified name of the class
public static double getValue(java.lang.Object o)
o
- Object to transform
public static boolean isNumeric(java.lang.Class clazz)
clazz
- The class to test
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |