|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvnet.jaxb2_commons.lang.ClassUtils
public class ClassUtils
| Field Summary | |
|---|---|
static char |
INNER_CLASS_SEPARATOR_CHAR
|
static char |
PACKAGE_SEPARATOR_CHAR
|
| Method Summary | |
|---|---|
static java.lang.String |
getShortClassName(java.lang.Class cls)
Gets the class name minus the package name from a Class. |
static java.lang.String |
getShortClassName(java.lang.String className)
Gets the class name minus the package name from a String. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final char PACKAGE_SEPARATOR_CHAR
public static final char INNER_CLASS_SEPARATOR_CHAR
| Method Detail |
|---|
public static java.lang.String getShortClassName(java.lang.Class cls)
Gets the class name minus the package name from a Class.
cls - the class to get the short name for.
public static java.lang.String getShortClassName(java.lang.String className)
Gets the class name minus the package name from a String.
The string passed in is assumed to be a class name - it is not checked.
className - the className to get the short name for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||