Uses of Class
nl.knaw.dans.bagit.exceptions.MissingPayloadDirectoryException
Packages that use MissingPayloadDirectoryException
-
Uses of MissingPayloadDirectoryException in nl.knaw.dans.bagit.verify
Methods in nl.knaw.dans.bagit.verify that throw MissingPayloadDirectoryExceptionModifier and TypeMethodDescriptionstatic voidMandatoryVerifier.checkPayloadDirectoryExists(Bag bag) Make sure the payload directory existsvoidBagVerifier.isComplete(Bag bag, boolean ignoreHiddenFiles) See https://tools.ietf.org/html/draft-kunze-bagit-13#section-3
A bag is complete if
every element is present every file in the payload manifest(s) are present every file in the tag manifest(s) are present.voidBagVerifier.isComplete(Bag bag, boolean ignoreHiddenFiles, boolean allowHoley) voidSee https://tools.ietf.org/html/draft-kunze-bagit-13#section-3
A bag is valid if the bag is complete and every checksum has been verified against the contents of its corresponding file.voidvoidBagVerifier.isValid(Bag bag, boolean ignoreHiddenFiles, boolean allowHoley, Map<String, String> extraHeaders) voidBagVerifier.isValid(Bag bag, boolean ignoreHiddenFiles, boolean allowHoley, Map<String, String> extraHeaders, Map<String, Map<String, String>> urlConfigs)