ClassUtil
.@Deprecated public final class ClassUtil extends Object
Modifier and Type | Method and Description |
---|---|
static Object |
instantiate(String className)
Deprecated.
|
static Object |
instantiate(String className,
boolean returnNull)
Deprecated.
|
@Deprecated public static Object instantiate(String className)
ClassUtil.instantiate(String)
.className
- The class name to load and to instantiate.CannotInstantiateObjectException
- If
something goes wrong during instantiation.@Deprecated public static Object instantiate(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.Copyright © 2017. All rights reserved.