public class RegularExpressionExtractionFunction extends ExtractionFunction
ExtractionFunction.DefaultExtractionFunctionType
Constructor and Description |
---|
RegularExpressionExtractionFunction(Pattern pattern)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Pattern |
getPattern() |
int |
hashCode() |
RegularExpressionExtractionFunction |
withPattern(Pattern pattern)
Get a new instance of this filter with the given pattern.
|
getType
public RegularExpressionExtractionFunction(Pattern pattern)
pattern
- Regex Pattern of the extraction functionpublic Pattern getPattern()
public RegularExpressionExtractionFunction withPattern(Pattern pattern)
pattern
- Pattern of the new filter.public int hashCode()
hashCode
in class ExtractionFunction
public boolean equals(Object obj)
equals
in class ExtractionFunction
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.