Class SimpleDateFormatMatcher

java.lang.Object
org.apache.nifi.util.text.SimpleDateFormatMatcher
All Implemented Interfaces:
DateTimeMatcher

class SimpleDateFormatMatcher extends Object implements DateTimeMatcher
  • Field Details

    • dateFormat

      private final DateFormat dateFormat
  • Constructor Details

    • SimpleDateFormatMatcher

      public SimpleDateFormatMatcher(String format)
  • Method Details

    • matches

      public boolean matches(String text)
      Description copied from interface: DateTimeMatcher
      Determines whether or not the text matches the pattern
      Specified by:
      matches in interface DateTimeMatcher
      Parameters:
      text - the text to evaluate
      Returns:
      true if the text matches the pattern, false otherwise