public class OfficeClassLoader
extends java.net.URLClassLoader
| Modifier and Type | Method and Description |
|---|---|
static OfficeClassLoader |
getClassLoader(IOOo pOOo,
java.lang.ClassLoader pParent)
Create or load the classloader for the given LibreOffice instance.
|
protected java.lang.Class<?> |
loadClass(java.lang.String pName,
boolean pResolve)
Load a class in a different order than the standard one: first look in the URLs then call the parent's class
loader loadClass method.
|
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstanceclearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic static OfficeClassLoader getClassLoader(IOOo pOOo, java.lang.ClassLoader pParent)
pOOo - the LibreOffice instance to loadpParent - the parent classloader to use if the classloader has to be created.protected java.lang.Class<?> loadClass(java.lang.String pName,
boolean pResolve)
throws java.lang.ClassNotFoundException
org.libreoffice.ide.eclipse.core.internal.office package.loadClass in class java.lang.ClassLoaderpName - the name of the class to loadpResolve - if true then resolves the classjava.lang.ClassNotFoundException - if the class cannot be found