public interface CacheEntry
Modifier and Type | Method and Description |
---|---|
Collection<URI> |
checkFixity(Collection<String> algorithms)
Check the fixity of a
CacheEntry with list of digest algorithms |
Collection<FixityResult> |
checkFixity(String algorithm)
Check the fixity of a
CacheEntry |
String |
getExternalIdentifier()
Generate a human-readable identifier for the location of this entry
|
InputStream |
getInputStream()
Get a raw input stream from the underlying store
|
Collection<FixityResult> checkFixity(String algorithm)
CacheEntry
algorithm
- the given algorithmFixityResult
containing the relevant dataCollection<URI> checkFixity(Collection<String> algorithms) throws UnsupportedAlgorithmException
CacheEntry
with list of digest algorithmsalgorithms
- the given algorithmsFixityResult
containing the relevant dataUnsupportedAlgorithmException
- in case the fixity check tries to use an unsupported algorithmInputStream getInputStream()
String getExternalIdentifier()
Copyright © 2013–2019 DuraSpace, Inc.. All rights reserved.