Uses of Class
nl.knaw.dans.bagit.domain.Version
Packages that use Version
Package
Description
-
Uses of Version in nl.knaw.dans.bagit.conformance
Fields in nl.knaw.dans.bagit.conformance declared as VersionModifier and TypeFieldDescriptionstatic final Version
VersionChecker.LATEST_BAGIT_VERSION
private static final Version
BagLinter.VERSION_1_0
private static final Version
ManifestChecker.VERSION_1_0
Methods in nl.knaw.dans.bagit.conformance with parameters of type VersionModifier and TypeMethodDescriptionstatic void
ManifestChecker.checkManifests
(Version version, Path bagitDir, Charset encoding, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore) Check for all the manifest specific potential problems(package private) static void
ManifestChecker.checkManifestSets
(Version version, List<Path> tagManifests, List<Path> payloadManifests, Set<BagitWarning> warnings, Charset encoding) static void
VersionChecker.checkVersion
(Version version, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore) -
Uses of Version in nl.knaw.dans.bagit.creator
Fields in nl.knaw.dans.bagit.creator declared as VersionModifier and TypeFieldDescriptionprivate static final Version
BagCreator.DOT_BAGIT_VERSION
private static final Version
BagCreator.LATEST_NON_DOT_BAGIT_VERSION
Methods in nl.knaw.dans.bagit.creator with parameters of type VersionModifier and TypeMethodDescriptionprivate static Bag
BagCreator.bagInPlace
(Version version, Path root, Collection<SupportedAlgorithm> algorithms, boolean includeHidden, Metadata metadata) -
Uses of Version in nl.knaw.dans.bagit.domain
Fields in nl.knaw.dans.bagit.domain declared as VersionMethods in nl.knaw.dans.bagit.domain that return VersionMethods in nl.knaw.dans.bagit.domain with parameters of type VersionModifier and TypeMethodDescriptionint
boolean
boolean
boolean
Version.isSameOrNewer
(Version version) boolean
Version.isSameOrOlder
(Version version) void
Bag.setVersion
(Version version) Constructors in nl.knaw.dans.bagit.domain with parameters of type Version -
Uses of Version in nl.knaw.dans.bagit.exceptions.conformance
Constructors in nl.knaw.dans.bagit.exceptions.conformance with parameters of type VersionModifierConstructorDescriptionBagitVersionIsNotAcceptableException
(String message, Version version, List<String> acceptableVersions) -
Uses of Version in nl.knaw.dans.bagit.reader
Fields in nl.knaw.dans.bagit.reader declared as VersionMethods in nl.knaw.dans.bagit.reader that return VersionModifier and TypeMethodDescriptionstatic Version
BagitTextFileReader.parseVersion
(String version) Methods in nl.knaw.dans.bagit.reader that return types with arguments of type VersionModifier and TypeMethodDescriptionBagitTextFileReader.readBagitTextFile
(Path bagitFile) Read the bagit.txt file and return the version and encoding. -
Uses of Version in nl.knaw.dans.bagit.util
Methods in nl.knaw.dans.bagit.util with parameters of type VersionModifier and TypeMethodDescriptionstatic Path
PathUtils.getBagitDir
(Version version, Path bagRoot) With bagit version 2.0 (.bagit) bagit specific files are no longer at the bag root directory.static Path
PathUtils.getDataDir
(Version version, Path output) With bagit version 2.0 (.bagit) payload files are no longer in the "data" directory. -
Uses of Version in nl.knaw.dans.bagit.verify
Methods in nl.knaw.dans.bagit.verify with parameters of type VersionModifier and TypeMethodDescriptionstatic void
MandatoryVerifier.checkBagitFileExists
(Path rootDir, Version version) make sure the bagit.txt file existsstatic void
MandatoryVerifier.checkIfAtLeastOnePayloadManifestsExist
(Path rootDir, Version version) Check to make sure the bag has at least one payload manifest (manifest-[ALGORITHM].txt) -
Uses of Version in nl.knaw.dans.bagit.writer
Fields in nl.knaw.dans.bagit.writer declared as VersionModifier and TypeFieldDescriptionprivate static final Version
MetadataWriter.VERSION_0_95
private static final Version
PayloadWriter.VERSION_2_0
Methods in nl.knaw.dans.bagit.writer with parameters of type VersionModifier and TypeMethodDescriptionstatic void
BagitFileWriter.writeBagitFile
(Version version, Charset encoding, Path outputDir) Write the bagit.txt file in required UTF-8 encoding.static 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)