Package org.apache.nifi.util.text
Class ListDateTimeMatcher
java.lang.Object
org.apache.nifi.util.text.ListDateTimeMatcher
- All Implemented Interfaces:
DateTimeMatcher
An implementation of the DateTimeMatcher that accepts in its constructor a List of delegate DateTimeMatchers.
This matcher will return
true
if and only if ALL matchers in the constructor return true
for
the same input.-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
matchers
-
-
Constructor Details
-
ListDateTimeMatcher
-
-
Method Details
-
matches
Description copied from interface:DateTimeMatcher
Determines whether or not the text matches the pattern- Specified by:
matches
in interfaceDateTimeMatcher
- Parameters:
text
- the text to evaluate- Returns:
true
if the text matches the pattern,false
otherwise
-