ClassUtil.@Deprecated
public final class ClassUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
instantiate(java.lang.String className)
Deprecated.
|
static java.lang.Object |
instantiate(java.lang.String className,
boolean returnNull)
Deprecated.
|
@Deprecated public static java.lang.Object instantiate(java.lang.String className)
ClassUtil.instantiate(String).className - The class name to load and to instantiate.CannotInstantiateObjectException - If
something goes wrong during instantiation.@Deprecated
public static java.lang.Object instantiate(java.lang.String className,
boolean returnNull)
ClassUtil.instantiate(String, boolean).className - The class name to load and to instantiate.returnNull - If true, if the class is not found it
returns true, otherwise it throws a
TilesException.CannotInstantiateObjectException - If
something goes wrong during instantiation.