public class RingoClassLoader extends URLClassLoader
ClassLoader used for application class loading. This class
provides constructors and methods to add jar directories to the classpath.
Note that class lookups are cached, so adding a jar file after a class has already been looked up won't make the classes available.
| Constructor and Description |
|---|
RingoClassLoader() |
RingoClassLoader(File home,
String[] classpath) |
RingoClassLoader(URL[] urls) |
RingoClassLoader(URL[] urls,
ClassLoader parent) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addClasspathWildcard(File dir,
boolean recursive) |
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstancedefineClass, defineClassclearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic RingoClassLoader()
public RingoClassLoader(URL[] urls)
public RingoClassLoader(File home, String[] classpath) throws MalformedURLException
MalformedURLExceptionpublic RingoClassLoader(URL[] urls, ClassLoader parent)
protected void addClasspathWildcard(File dir, boolean recursive) throws MalformedURLException
MalformedURLExceptionCopyright © 2016. All rights reserved.