|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
edu.umd.cs.findbugs.PluginLoader
public class PluginLoader
Loader for a FindBugs plugin. A plugin is a jar file containing two metadata files, "findbugs.xml" and "messages.xml". Those files specify
The PluginLoader creates a Plugin object to store the Detector factories and metadata.
Plugin
,
PluginException
Constructor Summary | |
---|---|
PluginLoader(java.net.URL url)
Constructor. |
|
PluginLoader(java.net.URL url,
java.lang.ClassLoader parent)
Constructor. |
Method Summary | |
---|---|
Plugin |
getPlugin()
Get the Plugin. |
Methods inherited from class java.net.URLClassLoader |
---|
addURL, definePackage, findClass, findResource, findResources, getPermissions, getURLs, newInstance, newInstance |
Methods inherited from class java.security.SecureClassLoader |
---|
defineClass, defineClass |
Methods inherited from class java.lang.ClassLoader |
---|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PluginLoader(java.net.URL url) throws PluginException
url
- the URL of the plugin Jar file
PluginException
- if the plugin cannot be fully loadedpublic PluginLoader(java.net.URL url, java.lang.ClassLoader parent) throws PluginException
url
- the URL of the plugin Jar fileparent
- the parent classloader
PluginException
Method Detail |
---|
public Plugin getPlugin() throws PluginException
PluginException
- if the plugin cannot be fully loaded
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |