jmathlib.core.functions
Class WebFunctionLoader

java.lang.Object
  extended by jmathlib.core.functions.WebFunctionLoader

public class WebFunctionLoader
extends java.lang.Object

Class to load any External functions used


Field Summary
 java.lang.String classDir
          Directory for the last loaded class
 java.lang.String lastClassName
          name of the last class loaded
 boolean mFileSwitch
          name of the last script-file (m-file)
 
Constructor Summary
WebFunctionLoader()
          Pointer to applet context
 
Method Summary
 java.lang.Class loadClass(java.lang.String fileName)
           
 void setApplet(java.applet.Applet _app)
          first checks the hashtable of already loaded classes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classDir

public java.lang.String classDir
Directory for the last loaded class


lastClassName

public java.lang.String lastClassName
name of the last class loaded


mFileSwitch

public boolean mFileSwitch
name of the last script-file (m-file)

Constructor Detail

WebFunctionLoader

public WebFunctionLoader()
Pointer to applet context

Method Detail

setApplet

public void setApplet(java.applet.Applet _app)
first checks the hashtable of already loaded classes

Parameters:
fileName - = the name of the function to load

loadClass

public java.lang.Class loadClass(java.lang.String fileName)
                          throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException