Uses of Class
nl.knaw.dans.bagit.domain.Manifest
Package
Description
-
Uses of Manifest in nl.knaw.dans.bagit.conformance
Modifier and TypeMethodDescriptionprivate static void
BagProfileChecker.requiredManifestsExist
(Set<Manifest> manifests, List<String> requiredManifestTypes, boolean isPayloadManifest) -
Uses of Manifest in nl.knaw.dans.bagit.creator
Modifier and TypeFieldDescriptionprotected final Map<Manifest,
MessageDigest> AbstractCreateManifestsVistor.manifestToMessageDigestMap
Modifier and TypeMethodDescriptionprivate static Map<Manifest,
MessageDigest> BagCreator.calculatePayloadManifests
(Bag bag, Collection<SupportedAlgorithm> algorithms, boolean includeHidden) private static Map<Manifest,
MessageDigest> BagCreator.calculateTagManifests
(Bag bag, Collection<SupportedAlgorithm> algorithms, boolean includeHidden) ModifierConstructorDescriptionAbstractCreateManifestsVistor
(Map<Manifest, MessageDigest> manifestToMessageDigestMap, boolean includeHiddenFiles) CreatePayloadManifestsVistor
(Map<Manifest, MessageDigest> manifestToMessageDigestMap, boolean includeHiddenFiles) CreateTagManifestsVistor
(Map<Manifest, MessageDigest> manifestToMessageDigestMap, boolean includeHiddenFiles) -
Uses of Manifest in nl.knaw.dans.bagit.domain
Modifier and TypeMethodDescriptionvoid
Bag.setPayLoadManifests
(Set<Manifest> payLoadManifests) void
Bag.setTagManifests
(Set<Manifest> tagManifests) -
Uses of Manifest in nl.knaw.dans.bagit.hash
Modifier and TypeMethodDescriptionstatic Map<Manifest,
MessageDigest> Hasher.createManifestToMessageDigestMap
(Collection<SupportedAlgorithm> algorithms) Modifier and TypeMethodDescriptionprivate static void
Hasher.addMessageDigestHashToManifest
(Path path, Map<Manifest, MessageDigest> manifestToMessageDigestMap) static void
Hasher.hash
(Path path, Map<Manifest, MessageDigest> manifestToMessageDigestMap) Update the Manifests with the file's hash -
Uses of Manifest in nl.knaw.dans.bagit.reader
Modifier and TypeMethodDescriptionstatic Manifest
ManifestReader.readManifest
(BagitAlgorithmNameToSupportedAlgorithmMapping nameMapping, Path manifestFile, Path bagRootDir, Charset charset) Reads a manifest file and converts it to aManifest
object. -
Uses of Manifest in nl.knaw.dans.bagit.verify
Modifier and TypeMethodDescription(package private) void
BagVerifier.checkHashes
(Manifest manifest) Modifier and TypeMethodDescriptionprivate static void
ManifestVerifier.CheckAllFilesInPayloadDirAreListedInAllManifests
(Set<Manifest> payLoadManifests, Path payloadDir, boolean ignoreHiddenFiles) ModifierConstructorDescriptionPayloadFileExistsInAllManifestsVistor
(Set<Manifest> manifests, boolean ignoreHiddenFiles) -
Uses of Manifest in nl.knaw.dans.bagit.writer
Modifier and TypeMethodDescriptionprivate static void
ManifestWriter.writeManifests
(Set<Manifest> manifests, Path outputDir, Path relativeTo, String filenameBase, Charset charsetName) static void
PayloadWriter.writePayloadFiles
(Set<Manifest> payloadManifests, List<FetchItem> fetchItems, Path outputDir, Path bagDataDir) Write the payload file(s) to the output directorystatic void
ManifestWriter.writePayloadManifests
(Set<Manifest> manifests, Path outputDir, Path bagitRootDir, Charset charsetName) Write the payload manifest(s) to the output directoryprivate static void
BagWriter.writeTagManifestFiles
(Set<Manifest> manifests, Path outputDir, Path bagRootDir) static void
ManifestWriter.writeTagManifests
(Set<Manifest> tagManifests, Path outputDir, Path bagitRootDir, Charset charsetName) Write the tag manifest(s) to the output directory