net.groboclown.util.jplugin.v2
Interface IClassInspector
- All Known Implementing Classes:
- BaseClassInspector
- public interface IClassInspector
Extracts the class instance based on the class name.
- Version:
- 0.9.0 Alpha
- Author:
- Matt Albrecht
Method Summary |
Class |
getClass(String className)
Retrieve the class object associated with the given name, or
null if it cannot be found. |
Object |
instantiate(String className)
Create an instance of the given class name, or return null
if the class could not be found, or if the class does not have a
default constructor. |
getClass
public Class getClass(String className)
- Retrieve the class object associated with the given name, or
null if it cannot be found.
instantiate
public Object instantiate(String className)
- Create an instance of the given class name, or return null
if the class could not be found, or if the class does not have a
default constructor.
Provided because an inspector may have a unique way to create the
class object (if, say, the default constructor isn't used).
Written under the LGPL