T - Type of object being extracted.public class ContextTransform<T> extends Object implements Function<Context,T>
| Constructor and Description |
|---|
ContextTransform(ContextExtractor<T> extract)
Construct with the given extractor
|
ContextTransform(String key)
Construct with a
KeyContextExtractor using the given key. |
public ContextTransform(ContextExtractor<T> extract)
extract - the extractorpublic ContextTransform(String key)
KeyContextExtractor using the given key.key - the key to extract (a KeyContextExtractor is used)