public class Formula
extends java.lang.Object
Formula
represents an Excel-like formula inside "$[" and "]"
delimiters.Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
BEGIN_FORMULA |
The beginning delimiter for a
Formula . |
static java.lang.String |
END_FORMULA |
The ending delimiter for a
Formula . |
Constructor | Description |
---|---|
Formula(java.lang.String formulaText,
java.util.List<CellRef> cellRefs) |
Creates a
Formula with the given formula text and the given
List of CellRefs . |
Modifier and Type | Method | Description |
---|---|---|
java.util.List<CellRef> |
getCellRefs() |
Returns the
List of CellRefs . |
java.lang.String |
getFormulaText() |
Returns the formula text.
|
java.lang.String |
toString() |
Returns the string representation.
|
public static final java.lang.String BEGIN_FORMULA
Formula
.public static final java.lang.String END_FORMULA
Formula
.public Formula(java.lang.String formulaText, java.util.List<CellRef> cellRefs)
Formula
with the given formula text and the given
List
of CellRefs
.formulaText
- The formula text, as it was entered into the template.cellRefs
- A List
of CellRefs
.public java.lang.String getFormulaText()
public java.util.List<CellRef> getCellRefs()
List
of CellRefs
.List
of CellRefs
.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2012–2018 Jett Team. All rights reserved.