jmathlib.core.functions
Class FunctionPathBroker

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

public class FunctionPathBroker
extends java.lang.Object

Using a base directory, uses a consistent search to find a function by its name


Constructor Summary
FunctionPathBroker(java.io.File _baseDir, boolean _traverseChildren)
           
 
Method Summary
 java.io.File findFunction(java.lang.String functionName)
           
 java.io.File getBaseDirectory()
           
 java.io.File getPath(int index)
           
 int getPathCount()
           
 void setBaseDirectory(java.io.File dir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FunctionPathBroker

public FunctionPathBroker(java.io.File _baseDir,
                          boolean _traverseChildren)
Method Detail

getBaseDirectory

public java.io.File getBaseDirectory()

setBaseDirectory

public void setBaseDirectory(java.io.File dir)

findFunction

public java.io.File findFunction(java.lang.String functionName)

getPathCount

public int getPathCount()
Returns:

getPath

public java.io.File getPath(int index)
Parameters:
index -
Returns: