|
MaltParser 1.4.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.ClassLoader
java.security.SecureClassLoader
org.maltparser.core.plugin.JarLoader
public class JarLoader
The jar class loader loads the content of a jar file that complies with a MaltParser Plugin.
Constructor Summary | |
---|---|
JarLoader(ClassLoader parent)
Creates a new class loader that is specialized for loading jar files. |
Method Summary | |
---|---|
protected void |
checkPackageAccess(String name)
Checks package access |
protected Class<?> |
findClass(String name)
|
Class<?> |
getClass(String classname)
Returns the Class object for the class with the specified name. |
boolean |
readJarFile(URL jarUrl)
Loads the content of a jar file that comply with a MaltParser Plugin |
String |
toString()
|
Methods inherited from class java.security.SecureClassLoader |
---|
defineClass, defineClass, getPermissions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JarLoader(ClassLoader parent)
parent
- The parent class loaderMethod Detail |
---|
protected Class<?> findClass(String name)
findClass
in class ClassLoader
public boolean readJarFile(URL jarUrl) throws MaltChainedException
jarUrl
- The URL to the jar file
PluginException
MaltChainedException
public Class<?> getClass(String classname)
classname
- the fully qualified name of the desired class
protected void checkPackageAccess(String name)
name
- the package namepublic String toString()
toString
in class Object
|
MaltParser 1.4.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |