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)
ContextExtractorextract in interface ContextExtractor<T>c - the context