Interface DocumentNameMatcher

All Known Implementing Classes:
TraceableDocumentNameMatcher
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface DocumentNameMatcher
  • Method Summary

    Modifier and Type
    Method
    Description
    from(FileFilter fileFilter)
    Creates a DocumentNameMatcher from a File filter.
    boolean
    matches(DocumentName documentName)
     
  • Method Details

    • matches

      boolean matches(DocumentName documentName)
    • from

      static DocumentNameMatcher from(FileFilter fileFilter)
      Creates a DocumentNameMatcher from a File filter.
      Parameters:
      fileFilter - the file filter to execute
      Returns:
      a DocumentNameMatcher