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
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
matchers
-
-
Constructor Details
-
ListDateTimeMatcher
-
-
Method Details
-
matches
Description copied from interface:DateTimeMatcherDetermines whether or not the text matches the pattern- Specified by:
matchesin interfaceDateTimeMatcher- Parameters:
text- the text to evaluate- Returns:
trueif the text matches the pattern,falseotherwise
-