public final class ClassHelper
extends java.lang.Object
Class
.Modifier | Constructor and Description |
---|---|
private |
ClassHelper()
ClassHelper is utility class and will be never instantiated.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Class<?> |
getClass(java.lang.String aClassName)
Finds class on classpath using class name.
|
static java.lang.Class<?> |
getClass(java.lang.String className,
The same as
ClassHelper.getClass(String) but may be faster, when ClassLoader is specified. |
Class.forName(String)
which throws exception
if class is not found.aClassName
- Name of class to be foundClass.forName(String)
ClassHelper.getClass(String)
but may be faster, when ClassLoader is specified.className
- The name of th class to be searched for.classLoader
- The ClassLoader to be used for search class or NULL when the caller ClassLoader should be used instead.