Interface FilesystemIteratorRule

All Known Implementing Classes:
FileExistsRule
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 FilesystemIteratorRule
Controls the behavior of a FilesystemIterator. Each rule has is mapped in via either a filename or a file prefix. If a rule is provided with an empty filename for regular rules (not prefix-matched), it will be the default for all file system roots.
Author:
AO Industries, Inc.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    A rule that will always be backed-up.
    A rule that will not be backed-up.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isIncluded(String filename)
    Gets if this item should be included.