Package org.apache.poi.ss.formula.udf
Class IndexedUDFFinder
java.lang.Object
org.apache.poi.ss.formula.udf.AggregatingUDFFinder
org.apache.poi.ss.formula.udf.IndexedUDFFinder
- All Implemented Interfaces:
UDFFinder
A UDFFinder that can retrieve functions both by name and by fake index.
- Author:
- Yegor Kozlov
-
Field Summary
Fields inherited from class org.apache.poi.ss.formula.udf.AggregatingUDFFinder
DEFAULT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindFunction
(String name) Returns executor by specified name.int
getFunctionIndex
(String name) getFunctionName
(int idx) Methods inherited from class org.apache.poi.ss.formula.udf.AggregatingUDFFinder
add
-
Constructor Details
-
IndexedUDFFinder
-
-
Method Details
-
findFunction
Description copied from class:AggregatingUDFFinder
Returns executor by specified name. Returnsnull
if function isn't contained by any registered tool pack.- Specified by:
findFunction
in interfaceUDFFinder
- Overrides:
findFunction
in classAggregatingUDFFinder
- Parameters:
name
- Name of function.- Returns:
- Function executor.
null
if not found
-
getFunctionName
-
getFunctionIndex
-