public class FormulaCompiler extends Object
Modifier and Type | Method and Description |
---|---|
Formula |
compile(Cell cell,
String source)
Compiles a formula for the given cell from the given string.
|
static FormulaCompiler |
getInstance()
Returns the singleton instance.
|
public static FormulaCompiler getInstance()
public Formula compile(Cell cell, String source) throws FormulaCompilationException
cell
- the cell for which a formula is to be generatedsource
- a string representing the formula to be compiledFormulaCompilationException
- if the formula could not be compiled