|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjmathlib.core.interpreter.RootObject
jmathlib.core.functions.MFileLoader
public class MFileLoader
Class for storing and managing the m- and p-functions
| Field Summary |
|---|
| Fields inherited from interface jmathlib.core.constants.ErrorCodes |
|---|
ERR_BRACKET_OPEN, ERR_BRACKET_ORDER, ERR_FUNCTION_NOT_FOUND, ERR_FUNCTION_NOT_IMPLEMENTED, ERR_INSUFFICIENT_PARAMETERS, ERR_INVALID_PARAMETER, ERR_LVALUE_REQUIRED, ERR_MATRIX_SINGULAR, ERR_NOT_SQUARE_MATRIX, ERR_OPNOTSUPPORTED, ERR_TOO_MANY_PARAMETERS, ERR_USER_ERROR, ERR_VARIABLE_NOTDEFINED, OK, OK_FUNCTION_PROCESS |
| Fields inherited from interface jmathlib.core.constants.TokenConstants |
|---|
ADDSUB_PRIORITY, AND_PRIORITY, ANDAND_PRIORITY, ASSIGN_PRIORITY, BRACKET_PRIORITY, COMPARE_PRIORITY, CONCAT, MATRIX, MULDIV_PRIORITY, OR_PRIORITY, OROR_PRIORITY, PARAMETER, POWER_PRIORITY, RELATION_PRIORITY, SINGLE, ttDelimiter, ttNotSet, ttOperand, ttOperator |
| Constructor Summary | |
|---|---|
MFileLoader()
Default constructor |
|
| Method Summary | |
|---|---|
boolean |
getPFileCaching()
return whether of not caching of p-files is enabled of not |
UserFunction |
loadMFile(java.io.File file)
|
UserFunction |
loadMFile(java.lang.String directory,
java.lang.String mFileName)
reads in an .m-file |
UserFunction |
loadMFileViaWeb(java.net.URL codeBase,
java.lang.String directoryAndFile,
java.lang.String mFileName)
loads an .m-file via the web |
UserFunction |
loadPFile(java.io.File file)
|
UserFunction |
loadPFile(java.lang.String directory,
java.lang.String pFileName)
reads in an .p-file |
void |
setPFileCaching(boolean pFileCaching)
set caching of p-file to on of off |
| Methods inherited from class jmathlib.core.interpreter.RootObject |
|---|
clone, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MFileLoader()
| Method Detail |
|---|
public UserFunction loadMFileViaWeb(java.net.URL codeBase,
java.lang.String directoryAndFile,
java.lang.String mFileName)
directory - = the directory containing the filemFileName - = the name of the m file
public UserFunction loadMFile(java.io.File file)
public UserFunction loadPFile(java.io.File file)
public UserFunction loadMFile(java.lang.String directory,
java.lang.String mFileName)
directory - = the directory containing the filemFileName - = the name of the m file
public UserFunction loadPFile(java.lang.String directory,
java.lang.String pFileName)
directory - = the directory containing the filepFileName - = the name of the p file
public void setPFileCaching(boolean pFileCaching)
pFileCaching - true= caching of p-files on; false: caching of p-files offpublic boolean getPFileCaching()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||