|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjmathlib.core.functions.FunctionManager
public class FunctionManager
Class for storing and managing the functions being used
| Constructor Summary | |
|---|---|
FunctionManager(boolean _runningStandalone)
Creates the function manager and defines any internal functions if this is an application then it creates a class loader to load external functions |
|
| Method Summary | |
|---|---|
boolean |
addFunctionLoader(FunctionLoader loader)
|
void |
addFunctionLoaderAt(int index,
FunctionLoader loader)
|
void |
checkAndRehashTimeStamps()
For each of the FunctionLoaders, check that any cached functions are up to date. |
void |
clear()
|
void |
clearCustomFunctionLoaders()
|
Function |
findFunction(FunctionToken token)
find a function It checks user functions then external functions then internal functions |
Function |
findFunctionByName(java.lang.String funcName)
|
FunctionLoader |
getFunctionLoader(int index)
|
int |
getFunctionLoaderCount()
|
boolean |
getPFileCaching()
return whether of not caching of p-files is enabled of not |
java.io.File |
getWorkingDirectory()
|
boolean |
removeFunctionLoader(FunctionLoader loader)
|
void |
setPFileCaching(boolean pFileCaching)
set caching of p-file to on of off |
void |
setWorkingDirectory(java.io.File path)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FunctionManager(boolean _runningStandalone)
runningStandalone - = true if the program is running as an application| Method Detail |
|---|
public void checkAndRehashTimeStamps()
public Function findFunction(FunctionToken token)
throws java.lang.Exception
token - - The function token containing the name of the function
java.lang.Exception
public Function findFunctionByName(java.lang.String funcName)
throws java.lang.Exception
java.lang.Exceptionpublic void clear()
public void setPFileCaching(boolean pFileCaching)
pFileCaching - true= caching of p-files on; false: caching of p-files offpublic boolean getPFileCaching()
public int getFunctionLoaderCount()
public FunctionLoader getFunctionLoader(int index)
index -
public boolean removeFunctionLoader(FunctionLoader loader)
loader -
public boolean addFunctionLoader(FunctionLoader loader)
loader -
public void addFunctionLoaderAt(int index,
FunctionLoader loader)
index - loader - public void clearCustomFunctionLoaders()
public void setWorkingDirectory(java.io.File path)
path - public java.io.File getWorkingDirectory()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||