public static class Filter.KeyValueFilter
extends java.lang.Object
Filter.KeyValueFilter.FilterBy
The regular expression passed as pattern will be used to filter the Map using a Pattern
.Modifier and Type | Class and Description |
---|---|
static class |
Filter.KeyValueFilter.FilterBy
Field to filter
|
Constructor and Description |
---|
KeyValueFilter(Filter.KeyValueFilter.FilterBy filterBy,
java.lang.String regexPattern)
Creates a KeyValueFilter passing the field to filter and the regex pattern
|
public KeyValueFilter(Filter.KeyValueFilter.FilterBy filterBy, java.lang.String regexPattern) throws java.util.regex.PatternSyntaxException
filterBy
- the field/s to filterregexPattern
- the regeex patternjava.util.regex.PatternSyntaxException
- if the pattern is not valid