Package es.situm.sdk.utils.filter
Class Filter.KeyValueFilter
- java.lang.Object
-
- es.situm.sdk.utils.filter.Filter.KeyValueFilter
-
- Enclosing class:
- Filter
public static class Filter.KeyValueFilter extends java.lang.Object
Deprecated.Use a for with an if to filter the collectionHelper class used to filter Map objects. You specify what field/s do you want to filter with aFilter.KeyValueFilter.FilterBy
The regular expression passed as pattern will be used to filter the Map using aPattern
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Filter.KeyValueFilter.FilterBy
Deprecated.Field to filter
-
Constructor Summary
Constructors Constructor Description KeyValueFilter(Filter.KeyValueFilter.FilterBy filterBy, java.lang.String regexPattern)
Deprecated.Creates a KeyValueFilter passing the field to filter and the regex pattern
-
-
-
Constructor Detail
-
KeyValueFilter
public KeyValueFilter(Filter.KeyValueFilter.FilterBy filterBy, java.lang.String regexPattern) throws java.util.regex.PatternSyntaxException
Deprecated.Creates a KeyValueFilter passing the field to filter and the regex pattern- Parameters:
filterBy
- the field/s to filterregexPattern
- the regeex pattern- Throws:
java.util.regex.PatternSyntaxException
- if the pattern is not valid
-
-