|
Carrot2 v3.6.0-SNAPSHOT
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.util.ReflectionUtils
public final class ReflectionUtils
Utilities related to Java reflection.
| Method Summary | |
|---|---|
static Class<?> |
classForName(String clazzName)
Load and initialize (or return, if already defined) a given class using context class loader. |
static Class<?> |
classForName(String clazzName,
boolean logWarning)
Load and initialize (or return, if already defined) a given class using context class loader. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Class<?> classForName(String clazzName)
throws ClassNotFoundException
ClassNotFoundException is thrown
and logged.
ClassNotFoundException
public static Class<?> classForName(String clazzName,
boolean logWarning)
throws ClassNotFoundException
clazzName - class name to loadlogWarning - if true, a warning will be logged if class cannot be found
ClassNotFoundException
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||