Class UnsupportedFilesCopyVisitor.FileExtensionPredicateBuilder

  • Enclosing class:
    UnsupportedFilesCopyVisitor

    public static class UnsupportedFilesCopyVisitor.FileExtensionPredicateBuilder
    extends Object
    Quick builder for predicate which filters file paths by specified file extensions
    • Constructor Detail

      • FileExtensionPredicateBuilder

        public FileExtensionPredicateBuilder()
    • Method Detail

      • build

        public static Predicate<Path> build​(String... extensions)
        Build a predicate for filtering file paths by specified file extensions
        Parameters:
        extensions - the file extensions sequense for filter, cannot be null
        Returns:
        path predicate, never null