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
@Internal public class IndexedUDFFinder extends AggregatingUDFFinder
A UDFFinder that can retrieve functions both by name and by fake index.
-
-
Field Summary
-
Fields inherited from class org.apache.poi.ss.formula.udf.AggregatingUDFFinder
DEFAULT
-
-
Constructor Summary
Constructors Constructor Description IndexedUDFFinder(UDFFinder... usedToolPacks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FreeRefFunctionfindFunction(String name)Returns executor by specified name.intgetFunctionIndex(String name)StringgetFunctionName(int idx)-
Methods inherited from class org.apache.poi.ss.formula.udf.AggregatingUDFFinder
add, insert
-
-
-
-
Constructor Detail
-
IndexedUDFFinder
public IndexedUDFFinder(UDFFinder... usedToolPacks)
-
-
Method Detail
-
findFunction
public FreeRefFunction findFunction(String name)
Description copied from class:AggregatingUDFFinderReturns executor by specified name. Returnsnullif function isn't contained by any registered tool pack.- Specified by:
findFunctionin interfaceUDFFinder- Overrides:
findFunctionin classAggregatingUDFFinder- Parameters:
name- Name of function.- Returns:
- Function executor.
nullif not found
-
getFunctionName
public String getFunctionName(int idx)
-
getFunctionIndex
public int getFunctionIndex(String name)
-
-