Uses of Enum
org.biojava.nbio.core.util.FileDownloadUtils.Hash
Packages that use FileDownloadUtils.Hash
-
Uses of FileDownloadUtils.Hash in org.biojava.nbio.core.util
Methods in org.biojava.nbio.core.util that return FileDownloadUtils.HashModifier and TypeMethodDescriptionstatic FileDownloadUtils.Hash
Returns the enum constant of this type with the specified name.static FileDownloadUtils.Hash[]
FileDownloadUtils.Hash.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.biojava.nbio.core.util with parameters of type FileDownloadUtils.HashModifier and TypeMethodDescriptionstatic void
FileDownloadUtils.createValidationFiles
(URLConnection resourceUrlConnection, File localDestination, URL hashURL, FileDownloadUtils.Hash hash) Creates validation files beside a file to be downloaded.
Whenever possible, for afile.ext
file, it createsfile.ext.size
andfile.hash_XXXX
in the same folder wherefile.ext
exists (XXXX may be DM5, SHA1, or SHA256).static void
FileDownloadUtils.createValidationFiles
(URL url, File localDestination, URL hashURL, FileDownloadUtils.Hash hash) Creates validation files beside a file to be downloaded.
Whenever possible, for afile.ext
file, it createsfile.ext.size
andfile.hash
for in the same folder wherefile.ext
exists.