|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.util.lang.Classes
public final class Classes
Utilities for dealing with classes.
Method Summary | |
---|---|
static java.lang.String |
name(java.lang.Class c)
Gets the name of the given class or null if the class is null. |
static java.lang.Class |
relativeClass(java.lang.Class scope,
java.lang.String path)
Takes a Class and a relative path to a class and returns any class at that relative path. |
static java.lang.Class |
resolveClass(java.lang.String className)
|
static java.lang.String |
simpleName(java.lang.Class c)
Gets the name of a given class without the prefixed package path |
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 name(java.lang.Class c)
c
- The class
public static java.lang.Class relativeClass(java.lang.Class scope, java.lang.String path) throws java.lang.ClassNotFoundException
scope
- The package to start atpath
- The relative path to the class
java.lang.ClassNotFoundException
public static java.lang.Class resolveClass(java.lang.String className)
className
- Class to resolve
public static java.lang.String simpleName(java.lang.Class c)
c
- The class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |