- 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.
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
Modifier and TypeFieldDescriptionstatic final FilesystemIteratorRule
A rule that will always be backed-up.static final FilesystemIteratorRule
A rule that will not be backed-up. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isIncluded
(String filename) Gets if this item should be included.
-
Field Details
-
OK
A rule that will always be backed-up. -
SKIP
A rule that will not be backed-up.
-
-
Method Details
-
isIncluded
Gets if this item should be included.- Throws:
IOException
-