T
- The type being extractedpublic class KeyContextExtractor<T> extends Object implements ContextExtractor<T>
Constructor and Description |
---|
KeyContextExtractor(String key)
Construct to extract from the given key
|
public KeyContextExtractor(String key)
key
- the keypublic T extract(Context c)
ContextExtractor
extract
in interface ContextExtractor<T>
c
- the context