com.japisoft.formula
Class FormulaFactory

java.lang.Object
  extended bycom.japisoft.formula.FormulaFactory

public class FormulaFactory
extends java.lang.Object

Factory for retreiving a formula

Version:
1.0
Author:
(c) 2002 JAPISoft

Method Summary
 Formula getFormula()
           
 Formula getFormula(java.lang.String expression)
           
static FormulaFactory getInstance()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static FormulaFactory getInstance()

getFormula

public Formula getFormula(java.lang.String expression)
Returns:
a formula for an expression

getFormula

public Formula getFormula()
Returns:
a new formula evaluator. You will have to call the setExpression method before evaluating