Uses of Class
nl.knaw.dans.bagit.hash.Hasher.HashOptions
Packages that use Hasher.HashOptions
-
Uses of Hasher.HashOptions in nl.knaw.dans.bagit.hash
Methods in nl.knaw.dans.bagit.hash that return Hasher.HashOptionsModifier and TypeMethodDescriptionstatic Hasher.HashOptionsHasher.HashOptions.systemProperties()Creates an instance ofHashOptionsusing system properties to determine the configuration values for chunk size, maximum retries, retry sleep time, and maximum redirects.Hasher.HashOptions.withOverrides(Integer chunkSize, Integer maxRetries, Integer retrySleepMs, Integer maxRedirects) Returns a newHashOptionsinstance with the specified overrides for configuration parameters.Hasher.HashOptions.withOverrides(Integer chunkSize, Integer maxRetries, Integer retrySleepMs, Integer maxRedirects, Boolean fallBackToFullStreamOnRangeFail) Returns a newHashOptionsinstance with the specified overrides for configuration parameters.Methods in nl.knaw.dans.bagit.hash with parameters of type Hasher.HashOptionsModifier and TypeMethodDescriptionstatic StringHasher.hash(URL url, MessageDigest messageDigest, Map<String, String> extraHeaders, Hasher.HashOptions hashOptions) Create a HEX formatted string checksum hash of the data from the URLstatic StringHasher.hash(FetchItem item, MessageDigest messageDigest, Map<String, String> extraHeaders, Hasher.HashOptions hashOptions) Create a HEX-formatted string checksum hash of the data from theFetchItemprivate static StringHasher.hashFullStream(URL url, MessageDigest messageDigest, Map<String, String> extraHeaders, Hasher.HashOptions hashOptions) -
Uses of Hasher.HashOptions in nl.knaw.dans.bagit.verify
Fields in nl.knaw.dans.bagit.verify declared as Hasher.HashOptionsModifier and TypeFieldDescriptionprivate final Hasher.HashOptionsCheckManifestHashesTask.hashOptionsMethods in nl.knaw.dans.bagit.verify that return Hasher.HashOptionsModifier and TypeMethodDescription(package private) Hasher.HashOptionsBagVerifier.getHashOptions()Methods in nl.knaw.dans.bagit.verify with parameters of type Hasher.HashOptionsModifier and TypeMethodDescriptionprotected static voidCheckManifestHashesTask.checkManifestEntry(Map.Entry<Path, String> entry, MessageDigest messageDigest, String algorithm, Map<Path, FetchItem> fetchItems, boolean allowHoley, Map<String, String> extraHeaders, Map<String, Map<String, String>> urlConfigs, Hasher.HashOptions hashOptions) protected static voidCheckManifestHashesTask.checkManifestEntry(Map.Entry<Path, String> entry, MessageDigest messageDigest, String algorithm, Map<Path, FetchItem> fetchItems, boolean allowHoley, Map<String, String> extraHeaders, Map<String, Map<String, String>> urlConfigs, Hasher.HashOptions hashOptions, Collection<FetchItem> ignoredFetchItems) Constructors in nl.knaw.dans.bagit.verify with parameters of type Hasher.HashOptionsModifierConstructorDescriptionCheckManifestHashesTask(Map.Entry<Path, String> entry, String algorithm, CountDownLatch latch, Collection<Exception> exceptions, Map<Path, FetchItem> fetchItems, boolean holey, Map<String, String> extraHeaders, Map<String, Map<String, String>> urlConfigs, Hasher.HashOptions hashOptions) CheckManifestHashesTask(Map.Entry<Path, String> entry, String algorithm, CountDownLatch latch, Collection<Exception> exceptions, Map<Path, FetchItem> fetchItems, boolean holey, Map<String, String> extraHeaders, Map<String, Map<String, String>> urlConfigs, Hasher.HashOptions hashOptions, Collection<FetchItem> ignoredFetchItems)