public final class FunctionEval
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected static Function[] |
functions |
Array elements corresponding to unimplemented functions are
null |
Constructor | Description |
---|---|
FunctionEval() |
Modifier and Type | Method | Description |
---|---|---|
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.
|
protected static final Function[] functions
null
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 registerjava.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()
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.