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() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
boolean matches(URI checksum)
checksum
- boolean matches(long size)
size
- boolean matches(long size, URI checksum)
size
- bitstream size in byteschecksum
- checksum URISet<FixityResult.FixityState> getStatus(long size, URI checksum)
long getComputedSize()
URI getComputedChecksum()
Copyright © 2013-2015 DuraSpace, Inc.. All Rights Reserved.