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 VersionVersionChecker.LATEST_BAGIT_VERSIONprivate static final VersionBagLinter.VERSION_1_0private static final VersionManifestChecker.VERSION_1_0Methods in nl.knaw.dans.bagit.conformance with parameters of type VersionModifier and TypeMethodDescriptionstatic voidManifestChecker.checkManifests(Version version, Path bagitDir, Charset encoding, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore) Check for all the manifest specific potential problems(package private) static voidManifestChecker.checkManifestSets(Version version, List<Path> tagManifests, List<Path> payloadManifests, Set<BagitWarning> warnings, Charset encoding) static voidVersionChecker.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 VersionBagCreator.DOT_BAGIT_VERSIONprivate static final VersionBagCreator.LATEST_NON_DOT_BAGIT_VERSIONMethods in nl.knaw.dans.bagit.creator with parameters of type VersionModifier and TypeMethodDescriptionprivate static BagBagCreator.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 TypeMethodDescriptionintbooleanbooleanbooleanVersion.isSameOrNewer(Version version) booleanVersion.isSameOrOlder(Version version) voidBag.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 VersionBagitTextFileReader.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 PathPathUtils.getBagitDir(Version version, Path bagRoot) With bagit version 2.0 (.bagit) bagit specific files are no longer at the bag root directory.static PathPathUtils.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 voidMandatoryVerifier.checkBagitFileExists(Path rootDir, Version version) make sure the bagit.txt file existsstatic voidMandatoryVerifier.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 VersionMetadataWriter.VERSION_0_95private static final VersionPayloadWriter.VERSION_2_0Methods in nl.knaw.dans.bagit.writer with parameters of type VersionModifier and TypeMethodDescriptionstatic voidBagitFileWriter.writeBagitFile(Version version, Charset encoding, Path outputDir) Write the bagit.txt file in required UTF-8 encoding.static voidMetadataWriter.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)