|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.ss.formula.eval.FunctionEval
public final class FunctionEval
Mappings from the Excel functions to our evaluation implementations (where available)
| Field Summary | |
|---|---|
protected static Function[] |
functions
Array elements corresponding to unimplemented functions are null |
| Method Summary | |
|---|---|
static Function |
getBasicFunction(int functionIndex)
|
static java.util.Collection<java.lang.String> |
getNotSupportedFunctionNames()
Returns an array of function names NOT implemented by POI. |
static java.util.Collection<java.lang.String> |
getSupportedFunctionNames()
Returns a collection of function names implemented by POI. |
static void |
registerFunction(java.lang.String name,
Function func)
Register a new function in runtime. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final Function[] functions
null
| Method Detail |
|---|
public static Function getBasicFunction(int functionIndex)
null if the specified functionIndex is for INDIRECT() or any external (add-in) function.
public static void registerFunction(java.lang.String name,
Function func)
name - the function namefunc - the functoin to register
java.lang.IllegalArgumentException - if the function is unknown or already registered.public static java.util.Collection<java.lang.String> getSupportedFunctionNames()
public static java.util.Collection<java.lang.String> getNotSupportedFunctionNames()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||