|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.util.lang.Classes
public final class Classes
Utilities for dealing with classes.
| Method Summary | |
|---|---|
static String |
name(Class<?> c)
Gets the name of the given class or null if the class is null. |
static Class<?> |
relativeClass(Class<?> scope,
String path)
Takes a Class and a relative path to a class and returns any class at that relative path. |
static String |
simpleName(Class<?> c)
Gets the simple name (without the package) of the given class or null if the class is null. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String name(Class<?> c)
c - The class
public static Class<?> relativeClass(Class<?> scope,
String path)
throws ClassNotFoundException
scope - The package to start atpath - The relative path to the class
ClassNotFoundExceptionpublic static String simpleName(Class<?> c)
c - The class
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||