Uses of Class
nl.knaw.dans.bagit.domain.Metadata
Package
Description
-
Uses of Metadata in nl.knaw.dans.bagit.conformance
Modifier and TypeMethodDescriptionprivate static void
BagProfileChecker.checkForAcceptableValues
(Metadata bagMetadata, Map.Entry<String, BagInfoRequirement> bagInfoEntryRequirement) private static void
BagProfileChecker.checkForNoneRepeatableMetadata
(Metadata bagMetadata, Map.Entry<String, BagInfoRequirement> bagInfoEntryRequirement, boolean metadataContainsKey) private static void
BagProfileChecker.checkMetadata
(Metadata bagMetadata, Map<String, BagInfoRequirement> bagInfoEntryRequirements) -
Uses of Metadata in nl.knaw.dans.bagit.creator
Modifier and TypeMethodDescriptionstatic Bag
BagCreator.bagInPlace
(Path root, Collection<SupportedAlgorithm> algorithms, boolean includeHidden, Metadata metadata) Creates a bag in place for version 0.97.private static Bag
BagCreator.bagInPlace
(Version version, Path root, Collection<SupportedAlgorithm> algorithms, boolean includeHidden, Metadata metadata) static Bag
BagCreator.createDotBagit
(Path root, Collection<SupportedAlgorithm> algorithms, boolean includeHidden, Metadata metadata) Creates a basic(only required elements) .bagit bag in place.private static void
BagCreator.createMetadataFile
(Bag bag, Metadata metadata) -
Uses of Metadata in nl.knaw.dans.bagit.domain
-
Uses of Metadata in nl.knaw.dans.bagit.writer
Modifier and TypeMethodDescriptionstatic void
MetadataWriter.writeBagMetadata
(Metadata metadata, Version version, Path outputDir, Charset charsetName) Write the bag-info.txt (or package-info.txt) file to the specified outputDir with specified encoding (charsetName)