Class Finder.NameFilter

    • Field Detail

      • pattern

        private final Pattern pattern
        The pattern to filter the filenames with.
    • Constructor Detail

      • NameFilter

        NameFilter​(String pattern)
    • Method Detail

      • pass

        public boolean pass​(File file)
        Description copied from class: Finder.Filter
        Returns for the given file whether this file passes this filter.
        Specified by:
        pass in class Finder.Filter