public final class FunctionEval extends Object
Modifier and Type | Field and Description |
---|---|
protected static Function[] |
functions
Array elements corresponding to unimplemented functions are
null |
Constructor and Description |
---|
FunctionEval() |
Modifier and Type | Method and Description |
---|---|
static Function |
getBasicFunction(int functionIndex) |
static Collection<String> |
getNotSupportedFunctionNames()
Returns an array of function names NOT implemented by POI.
|
static Collection<String> |
getSupportedFunctionNames()
Returns a collection of function names implemented by POI.
|
static void |
registerFunction(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(String name, Function func)
name
- the function namefunc
- the functoin to registerIllegalArgumentException
- if the function is unknown or already registered.public static Collection<String> getSupportedFunctionNames()
public static Collection<String> getNotSupportedFunctionNames()
Copyright © 2020. All rights reserved.