|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.ClassLoader com.objectplanet.survey.plugin.PluginJARClassLoader
public class PluginJARClassLoader
A class loader implementation that loads classes from JAR files.
Constructor Summary | |
---|---|
PluginJARClassLoader()
This constructor creates a class loader for loading classes from all plugins in one single Jar file. |
|
PluginJARClassLoader(java.lang.String path)
Constructor for the PluginJARClassLoader object |
Method Summary | |
---|---|
void |
closeZipFile()
Closes the ZIP file. |
java.util.zip.ZipFile |
getZipFile()
Returns the ZIP file associated with this class loader. |
java.lang.Class |
loadClass(java.lang.String clazz,
boolean resolveIt)
|
Methods inherited from class java.lang.ClassLoader |
---|
clearAssertionStatus, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PluginJARClassLoader()
public PluginJARClassLoader(java.lang.String path) throws java.io.IOException
path
- Path to the jar file
java.io.IOException
- IOExceptionMethod Detail |
---|
public java.util.zip.ZipFile getZipFile()
public java.lang.Class loadClass(java.lang.String clazz, boolean resolveIt) throws java.lang.ClassNotFoundException
loadClass
in class java.lang.ClassLoader
clazz
- Description of ParameterresolveIt
- Description of Parameter
java.lang.ClassNotFoundException
- if the class could not be foundpublic void closeZipFile()
|
Copyright ? ObjectPlanet Inc. All Rights Reserved. | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |