|
|||||||||
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
org.openoffice.ide.eclipse.core.office.OfficeClassLoader
public class OfficeClassLoader
Special class loader to use to load OOo related classes. This class loader is important to bootstrap OpenOffice.org.
Method Summary | |
---|---|
static OfficeClassLoader |
getClassLoader(IOOo pOOo,
java.lang.ClassLoader pParent)
Create or load the classloader for the given OpenOffice 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. |
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, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static OfficeClassLoader getClassLoader(IOOo pOOo, java.lang.ClassLoader pParent)
pOOo
- the OpenOffice 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.openoffice.ide.eclipse.core.internal.office
package.
loadClass
in class java.lang.ClassLoader
pName
- the name of the class to loadpResolve
- if true
then resolves the class
java.lang.ClassNotFoundException
- if the class cannot be found
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |