public interface ClassBroker
Make sure that you never obtain any LanguageTool class by calling
Class.forName(String)
directly. If you would like to
load class do always use JLanguageTool.getClassBroker()
which provides proper method for loading classes.
Modifier and Type | Method and Description |
---|---|
Class<?> |
forName(String qualifiedName)
Returns the
Class object associated with the class or
interface with the given string name. |
Class<?> forName(String qualifiedName) throws ClassNotFoundException
Class
object associated with the class or
interface with the given string name.qualifiedName
- the fully qualified name of the desired class.Class
object for the class with the specified name.ClassNotFoundException
- if the class cannot be located