public final class FunctionEval
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static Function[] |
functions
Array elements corresponding to unimplemented functions are
null |
Modifier and Type | Method and 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.