|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jxl.biff.formula.FormulaParser
Parses the formula passed in (either as parsed strings or as a string) into a tree of operators and operands
Field Summary | |
private Parser |
parser
The formula parser. |
Constructor Summary | |
FormulaParser(byte[] tokens,
Cell rt,
ExternalSheet es)
Constructor which creates the parse tree out of tokens |
|
FormulaParser(java.lang.String form)
Constructor which creates the parse tree out of the string |
Method Summary | |
byte[] |
getBytes()
Gets the bytes for the formula. |
java.lang.String |
getFormula()
Gets the formula as a string |
void |
parse()
Parses the formula into a parse tree |
Methods inherited from class java.lang.Object |
|
Field Detail |
private Parser parser
Constructor Detail |
public FormulaParser(byte[] tokens, Cell rt, ExternalSheet es) throws FormulaException
tokens
- the list of parsed tokensrt
- the cell containing the formulaes
- a handle to the external sheet holderFormulaException
- public FormulaParser(java.lang.String form)
form
- the formula stringMethod Detail |
public void parse() throws FormulaException
FormulaException
- public java.lang.String getFormula() throws FormulaException
FormulaException
- public byte[] getBytes()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |