public interface FixityResult
Modifier and Type | Interface and Description |
---|---|
static class |
FixityResult.FixityState
The possible fixity states (which may be ORed together later)
|
Modifier and Type | Method and Description |
---|---|
URI |
getComputedChecksum() |
long |
getComputedSize() |
Set<FixityResult.FixityState> |
getStatus(long size,
URI checksum) |
String |
getStoreIdentifier()
Get the identifier for the entry's store
|
boolean |
matches(long size)
Check if the fixity result matches the given size
|
boolean |
matches(long size,
URI checksum)
Does the fixity entry match the given size and checksum?
|
boolean |
matches(URI checksum)
Check if the fixity result matches the given checksum URI
|
String getStoreIdentifier()
boolean matches(URI checksum)
checksum
- the given checksum uriboolean matches(long size)
size
- the given sizeboolean matches(long size, URI checksum)
size
- bitstream size in byteschecksum
- checksum URISet<FixityResult.FixityState> getStatus(long size, URI checksum)
size
- the sizechecksum
- the checksum urilong getComputedSize()
URI getComputedChecksum()
Copyright © 2013–2016 DuraSpace, Inc.. All rights reserved.