public class SinglePatternExtractor extends AbstractPatternExtractor
Extractor.Result
DESC_STATE, NO_MATCH_ATTRIBUTES
Constructor and Description |
---|
SinglePatternExtractor(Pattern pattern,
boolean fullMatch,
FieldSpec primaryValue,
Map<String,FieldSpec> attributes) |
SinglePatternExtractor(Pattern pattern,
boolean fullMatch,
ValueFieldDescriptor fieldDescriptor) |
Modifier and Type | Method and Description |
---|---|
protected Map<ItemDescriptor,ItemValue> |
processData(String data) |
limit, makeState
processData
public SinglePatternExtractor(Pattern pattern, boolean fullMatch, ValueFieldDescriptor fieldDescriptor)
protected Map<ItemDescriptor,ItemValue> processData(String data) throws Exception
processData
in class AbstractStringExtractor
Exception