public class RegexDateTimeMatcher extends Object implements DateTimeMatcher
Modifier and Type | Class and Description |
---|---|
static class |
RegexDateTimeMatcher.Compiler |
Modifier and Type | Field and Description |
---|---|
private int |
maxLength |
private int |
minLength |
private Pattern |
pattern |
private List<String> |
subPatterns |
Modifier | Constructor and Description |
---|---|
private |
RegexDateTimeMatcher(Pattern pattern,
List<String> subPatterns,
int minLength,
int maxLength) |
Modifier and Type | Method and Description |
---|---|
String |
determineMismatch(String text) |
int |
getMaxInputLength() |
int |
getMinInputLength() |
boolean |
matches(String text)
Determines whether or not the text matches the pattern
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compile
private final Pattern pattern
private final int minLength
private final int maxLength
public int getMinInputLength()
public int getMaxInputLength()
public boolean matches(String text)
DateTimeMatcher
matches
in interface DateTimeMatcher
text
- the text to evaluatetrue
if the text matches the pattern, false
otherwiseCopyright © 2021 Apache NiFi Project. All rights reserved.