|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.enhydra.barracuda.plankton.Classes
Simple Class utilities
Field Summary | |
protected static Map |
clCache
|
protected static org.apache.log4j.Logger |
logger
|
protected static String |
NULL_STR
|
Constructor Summary | |
Classes()
|
Method Summary | |
static List |
getAllInterfaces(Class cl)
|
static List |
getAllInterfaces(Object obj)
Get a List of all interfaces that are implemented by an object |
static Class |
getClass(String clName)
This method provides a cached interface to get a class. |
static String |
getShortClassName(Class cl)
Get a short version of a class name |
static Object |
newInstance(Class cl)
Get a new instance of the class, without throwing an InstantiationException. |
static Object |
newInstance(String clName)
Get a new instance of the class, without throwing an InstantiationException. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final org.apache.log4j.Logger logger
protected static Map clCache
protected static final String NULL_STR
Constructor Detail |
public Classes()
Method Detail |
public static Class getClass(String clName)
clName
- the fully qualified class name
public static Object newInstance(Class cl)
cl
- the class we wish to obtain an instance from
public static Object newInstance(String clName)
clName
- the fully qualified class name
public static List getAllInterfaces(Object obj)
public static List getAllInterfaces(Class cl)
public static String getShortClassName(Class cl)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |