public class UIMAClassLoader
extends java.net.URLClassLoader
Constructor and Description |
---|
UIMAClassLoader(java.lang.String classpath)
Creates a new UIMAClassLoader based on a classpath string
|
UIMAClassLoader(java.lang.String classpath,
java.lang.ClassLoader parent)
Creates a new UIMAClassLoader based on a classpath string.
|
UIMAClassLoader(java.net.URL[] classpath)
Creates a new UIMAClassLoader based on a classpath URL's
|
UIMAClassLoader(java.net.URL[] classpath,
java.lang.ClassLoader parent)
Creates a new UIMAClassLoader based on a classpath URL's.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Class<?> |
loadClass(java.lang.String name,
boolean resolve) |
static java.net.URLClassLoader |
newInstance(java.net.URL[] urls)
Do not use this factory method - throws unsupportedOperationException
|
static java.net.URLClassLoader |
newInstance(java.net.URL[] urls,
java.lang.ClassLoader parent)
Do not use this factory method - throws unsupportedOperationException
|
static java.net.URL[] |
transformClasspath(java.lang.String classpath)
Transforms the string classpath to and URL array based classpath.
|
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public UIMAClassLoader(java.lang.String classpath) throws java.net.MalformedURLException
classpath
- a classpath stringjava.net.MalformedURLException
- if a malformed URL has occurred in the classpath string.public UIMAClassLoader(java.net.URL[] classpath)
classpath
- an array of wellformed classpath URL'spublic UIMAClassLoader(java.net.URL[] classpath, java.lang.ClassLoader parent)
classpath
- an array of wellformed classpath URL'sparent
- specify the parent of the classloaderpublic UIMAClassLoader(java.lang.String classpath, java.lang.ClassLoader parent) throws java.net.MalformedURLException
classpath
- a classpath stringparent
- specify the parent of the classloaderjava.net.MalformedURLException
- if a malformed URL has occurred in the classpath string.public static java.net.URL[] transformClasspath(java.lang.String classpath) throws java.net.MalformedURLException
classpath
- a classpath stringjava.net.MalformedURLException
- if a malformed URL has occurred in the classpath string.public static java.net.URLClassLoader newInstance(java.net.URL[] urls)
public static java.net.URLClassLoader newInstance(java.net.URL[] urls, java.lang.ClassLoader parent)
protected java.lang.Class<?> loadClass(java.lang.String name, boolean resolve) throws java.lang.ClassNotFoundException
loadClass
in class java.lang.ClassLoader
java.lang.ClassNotFoundException
Copyright © 2012. All Rights Reserved.