public static interface DirectoryManifest.Filter
Modifier and Type | Method and Description |
---|---|
default boolean |
includeDirectory(java.nio.file.Path dirPath,
java.nio.file.attribute.BasicFileAttributes attrs)
Whether to include a given directory in the manifest.
|
default boolean |
includeFile(java.nio.file.Path filePath,
java.nio.file.attribute.BasicFileAttributes attrs)
Whether to include a given file in the manifest.
|
default boolean |
walkDirectory(java.nio.file.Path dirPath,
java.nio.file.attribute.BasicFileAttributes attrs)
Whether to recurse into a given directory and add its contents to the manifest.
|
default boolean includeFile(java.nio.file.Path filePath, java.nio.file.attribute.BasicFileAttributes attrs)
filePath
- the file pathattrs
- the file attributesdefault boolean includeDirectory(java.nio.file.Path dirPath, java.nio.file.attribute.BasicFileAttributes attrs)
dirPath
- the directory pathattrs
- the directory attributesdefault boolean walkDirectory(java.nio.file.Path dirPath, java.nio.file.attribute.BasicFileAttributes attrs)
dirPath
- the directory pathattrs
- the directory attributes