public class PayloadFileExistsInAtLeastOneManifestVistor extends AbstractPayloadFileExistsInManifestsVistor
SimpleFileVisitor to ensure that the encountered file is in one of the manifests.ignoreHiddenFiles, logger| Constructor and Description |
|---|
PayloadFileExistsInAtLeastOneManifestVistor(java.util.Set<java.nio.file.Path> filesListedInManifests,
boolean ignoreHiddenFiles) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.file.FileVisitResult |
visitFile(java.nio.file.Path path,
java.nio.file.attribute.BasicFileAttributes attrs) |
preVisitDirectorypublic PayloadFileExistsInAtLeastOneManifestVistor(java.util.Set<java.nio.file.Path> filesListedInManifests,
boolean ignoreHiddenFiles)
public java.nio.file.FileVisitResult visitFile(java.nio.file.Path path,
java.nio.file.attribute.BasicFileAttributes attrs)
throws java.io.IOException,
FileNotInManifestException
visitFile in interface java.nio.file.FileVisitor<java.nio.file.Path>visitFile in class java.nio.file.SimpleFileVisitor<java.nio.file.Path>java.io.IOExceptionFileNotInManifestException