Top Description Fields Constructors Methods
org.apache.poi.ss.formula.udf

public Class AggregatingUDFFinder

extends Object
implements UDFFinder
Class Inheritance
All Implemented Interfaces
org.apache.poi.ss.formula.udf.UDFFinder
Known Direct Subclasses
org.apache.poi.ss.formula.udf.IndexedUDFFinder
Imports
org.apache.poi.ss.formula.atp.AnalysisToolPak, org.apache.poi.ss.formula.functions.FreeRefFunction, java.util.ArrayList, .Arrays, .Collection

Collects add-in libraries and VB macro functions together into one UDF finder

Field Summary

Modifier and TypeField and Description
private final Collection<UDFFinder>
public static final UDFFinder
DEFAULT

Default UDFFinder implementation

Constructor Summary

AccessConstructor and Description
public
AggregatingUDFFinder(UDFFinder... usedToolPacks)

Method Summary

Modifier and TypeMethod and Description
public void
add(UDFFinder
the UDF toolpack to add
toolPack
)

Add a new toolpack

public FreeRefFunction

Returns:

Function executor. null if not found
findFunction
(String
Name of function.
name
)

Implements org.apache.poi.ss.formula.udf.UDFFinder.findFunction.

Returns executor by specified name.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_usedToolPacksback to summary
private final Collection<UDFFinder> _usedToolPacks
DEFAULTback to summary
public static final UDFFinder DEFAULT

Default UDFFinder implementation

Constructor Detail

AggregatingUDFFinderback to summary
public AggregatingUDFFinder(UDFFinder... usedToolPacks)

Method Detail

addback to summary
public void add(UDFFinder toolPack)

Add a new toolpack

Parameters
toolPack:UDFFinder

the UDF toolpack to add

findFunctionback to summary
public FreeRefFunction findFunction(String name)

Implements org.apache.poi.ss.formula.udf.UDFFinder.findFunction.

Returns executor by specified name. Returns null if function isn't contained by any registered tool pack.

Parameters
name:String

Name of function.

Returns:FreeRefFunction

Function executor. null if not found

Annotations
@Override