|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.ClassLoader
jmathlib.core.functions.ExternalFunctionClassLoader
public class ExternalFunctionClassLoader
Class to load any External functions used
| Constructor Summary | |
|---|---|
ExternalFunctionClassLoader(FunctionPathBroker _pathBroker)
Create the class loader |
|
| Method Summary | |
|---|---|
java.lang.Class |
findClass(java.lang.String className)
|
protected byte[] |
getClassData(java.io.File classFile)
read the data for the class from the specified directory and any subdirectories |
java.lang.String |
getClassnameForFunction(java.lang.String functionName)
Returns a class name that refers to the functionName. |
| Methods inherited from class java.lang.ClassLoader |
|---|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, 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 ExternalFunctionClassLoader(FunctionPathBroker _pathBroker)
_classDir - = the name of the base class directory| Method Detail |
|---|
public java.lang.String getClassnameForFunction(java.lang.String functionName)
public java.lang.Class findClass(java.lang.String className)
throws java.lang.ClassNotFoundException
findClass in class java.lang.ClassLoaderjava.lang.ClassNotFoundException
protected byte[] getClassData(java.io.File classFile)
throws java.io.IOException
className - = the class to load
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||