|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.kano.joscar.MiscTools
Provides a set of miscellaneous tools used throughout joscar.
Method Summary | |
static java.lang.String |
getClassName(java.lang.Class cl)
Returns the name of the given class, with the package name stripped off. |
static java.lang.String |
getClassName(java.lang.Object obj)
Returns the class name of the given object, with the package name stripped off. |
static java.lang.String |
getClassName(java.lang.String fullName)
Returns the class name of the given fully qualified class name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.lang.String getClassName(java.lang.Object obj)
obj
- the object whose class name will be returned
public static java.lang.String getClassName(java.lang.Class cl)
cl
- the class whose name will be returned
public static java.lang.String getClassName(java.lang.String fullName)
getClassName("net.kano.joscar.MiscTools")
would
produce the string "MiscTools"
.
fullName
- the fully qualified class name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |