Package org.apache.poi.ss.formula.atp
Class AnalysisToolPak
java.lang.Object
org.apache.poi.ss.formula.atp.AnalysisToolPak
- All Implemented Interfaces:
UDFFinder
Analysis Toolpack Function Definitions
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfindFunction(String name) Returns executor by specified name.static Collection<String>Returns a collection of ATP function names NOT implemented by POI.static Collection<String>Returns a collection of ATP function names implemented by POI.static booleanisATPFunction(String name) static voidregisterFunction(String name, FreeRefFunction func) Register an ATP function in runtime.static voidregisterFunction(String name, FreeRefFunction func, boolean force) Register an ATP function in runtime.
-
Field Details
-
instance
-
-
Method Details
-
findFunction
Description copied from interface:UDFFinderReturns executor by specified name. Returnsnullif the function name is unknown.- Specified by:
findFunctionin interfaceUDFFinder- Parameters:
name- Name of function.- Returns:
- Function executor.
-
isATPFunction
-
getSupportedFunctionNames
Returns a collection of ATP function names implemented by POI.- Returns:
- an array of supported functions
- Since:
- 3.8 beta6
-
getNotSupportedFunctionNames
Returns a collection of ATP function names NOT implemented by POI.- Returns:
- an array of not supported functions
- Since:
- 3.8 beta6
-
registerFunction
Register an ATP function in runtime.- Parameters:
name- the function namefunc- the function to register- Throws:
IllegalArgumentException- if the function is unknown or already registered.- Since:
- 3.8 beta6
-
registerFunction
Register an ATP function in runtime.- Parameters:
name- the function namefunc- the function to registerforce- force registration even if the function is already registered or unknown to POI- Throws:
IllegalArgumentException- if the function is unknown or already registered (and `force` is not true).- Since:
- 5.5.0
-