Package nl.knaw.dans.bagit.verify
Class AbstractPayloadFileExistsInManifestsVistor
java.lang.Object
java.nio.file.SimpleFileVisitor<Path>
nl.knaw.dans.bagit.verify.AbstractPayloadFileExistsInManifestsVistor
- All Implemented Interfaces:
FileVisitor<Path>
- Direct Known Subclasses:
PayloadFileExistsInAllManifestsVistor
,PayloadFileExistsInAtLeastOneManifestVistor
Implements
SimpleFileVisitor
to ensure that the encountered file is in one of the manifests.-
Field Summary
Modifier and TypeFieldDescriptionprotected final boolean
protected static final org.slf4j.Logger
protected static final ResourceBundle
-
Constructor Summary
-
Method Summary
Methods inherited from class java.nio.file.SimpleFileVisitor
postVisitDirectory, visitFile, visitFileFailed
-
Field Details
-
logger
protected static final org.slf4j.Logger logger -
messages
-
ignoreHiddenFiles
protected final transient boolean ignoreHiddenFiles
-
-
Constructor Details
-
AbstractPayloadFileExistsInManifestsVistor
public AbstractPayloadFileExistsInManifestsVistor(boolean ignoreHiddenFiles)
-
-
Method Details
-
preVisitDirectory
- Specified by:
preVisitDirectory
in interfaceFileVisitor<Path>
- Overrides:
preVisitDirectory
in classSimpleFileVisitor<Path>
- Throws:
IOException
-