Package nl.knaw.dans.bagit.verify
Class PayloadFileExistsInAllManifestsVistor
java.lang.Object
java.nio.file.SimpleFileVisitor<Path>
nl.knaw.dans.bagit.verify.AbstractPayloadFileExistsInManifestsVistor
nl.knaw.dans.bagit.verify.PayloadFileExistsInAllManifestsVistor
- All Implemented Interfaces:
FileVisitor<Path>
public class PayloadFileExistsInAllManifestsVistor
extends AbstractPayloadFileExistsInManifestsVistor
Implements
SimpleFileVisitor
to ensure that the encountered file is in one of the manifests.-
Field Summary
Fields inherited from class nl.knaw.dans.bagit.verify.AbstractPayloadFileExistsInManifestsVistor
ignoreHiddenFiles, logger, messages
-
Constructor Summary
ConstructorDescriptionPayloadFileExistsInAllManifestsVistor
(Set<Manifest> manifests, boolean ignoreHiddenFiles) -
Method Summary
Methods inherited from class nl.knaw.dans.bagit.verify.AbstractPayloadFileExistsInManifestsVistor
preVisitDirectory
Methods inherited from class java.nio.file.SimpleFileVisitor
postVisitDirectory, visitFileFailed
-
Field Details
-
manifests
-
-
Constructor Details
-
PayloadFileExistsInAllManifestsVistor
-
-
Method Details
-
visitFile
public FileVisitResult visitFile(Path path, BasicFileAttributes attrs) throws FileNotInManifestException - Specified by:
visitFile
in interfaceFileVisitor<Path>
- Overrides:
visitFile
in classSimpleFileVisitor<Path>
- Throws:
FileNotInManifestException
-