jmathlib.core.functions
Class WebFunctionLoader

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

public class WebFunctionLoader
extends FunctionLoader

Class for storing and managing the m- and p-functions


Field Summary
private  java.lang.String directory
           
private  java.util.Vector functionListV
           
(package private)  boolean pFileCachingEnabledB
           
 
Constructor Summary
WebFunctionLoader()
          Default constructor
 
Method Summary
 void checkAndRehashTimeStamps()
           
 Function findFunction(java.lang.String functionName)
          loads an .m-file via the web
 java.lang.String getDirectory()
           
 boolean getPFileCaching()
          return whether of not caching of p-files is enabled of not
 void setPFileCaching(boolean pFileCaching)
          set caching of p-file to on of off
 
Methods inherited from class jmathlib.core.functions.FunctionLoader
cacheFunction, clearCache, clearCachedFunction, getCachedFunction, getCachedFunctionIterator, isSystemLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pFileCachingEnabledB

boolean pFileCachingEnabledB

directory

private java.lang.String directory

functionListV

private java.util.Vector functionListV
Constructor Detail

WebFunctionLoader

public WebFunctionLoader()
Default constructor

Method Detail

getDirectory

public java.lang.String getDirectory()
Returns:

findFunction

public Function findFunction(java.lang.String functionName)
loads an .m-file via the web

Specified by:
findFunction in class FunctionLoader
Parameters:
directory - = the directory containing the file
mFileName - = the name of the m file
Returns:
the result of the file as a FunktionToken

setPFileCaching

public void setPFileCaching(boolean pFileCaching)
set caching of p-file to on of off

Specified by:
setPFileCaching in class FunctionLoader
Parameters:
pFileCaching - true= caching of p-files on; false: caching of p-files off

getPFileCaching

public boolean getPFileCaching()
return whether of not caching of p-files is enabled of not

Specified by:
getPFileCaching in class FunctionLoader
Returns:
status of caching p-files

checkAndRehashTimeStamps

public void checkAndRehashTimeStamps()
Specified by:
checkAndRehashTimeStamps in class FunctionLoader

FOOTER

BOTTOM