Package nl.knaw.dans.bagit.creator
Class CreatePayloadManifestsVistor
java.lang.Object
java.nio.file.SimpleFileVisitor<Path>
nl.knaw.dans.bagit.creator.AbstractCreateManifestsVistor
nl.knaw.dans.bagit.creator.CreatePayloadManifestsVistor
- All Implemented Interfaces:
FileVisitor<Path>
Creates the payload manifests by walking the payload files and calculating their checksums
Mainly used in
BagCreator
-
Field Summary
Fields inherited from class nl.knaw.dans.bagit.creator.AbstractCreateManifestsVistor
includeHiddenFiles, manifestToMessageDigestMap
-
Constructor Summary
ConstructorDescriptionCreatePayloadManifestsVistor
(Map<Manifest, MessageDigest> manifestToMessageDigestMap, boolean includeHiddenFiles) -
Method Summary
Methods inherited from class nl.knaw.dans.bagit.creator.AbstractCreateManifestsVistor
abstractPreVisitDirectory, visitFile
Methods inherited from class java.nio.file.SimpleFileVisitor
postVisitDirectory, visitFileFailed
-
Constructor Details
-
CreatePayloadManifestsVistor
public CreatePayloadManifestsVistor(Map<Manifest, MessageDigest> manifestToMessageDigestMap, boolean includeHiddenFiles)
-
-
Method Details
-
preVisitDirectory
- Specified by:
preVisitDirectory
in interfaceFileVisitor<Path>
- Overrides:
preVisitDirectory
in classSimpleFileVisitor<Path>
- Throws:
IOException
-