Modifier and Type | Method and Description |
---|---|
Checksum |
CNRead.getChecksum(Identifier pid) |
Checksum |
CNRead.getChecksum(Session session,
Identifier pid)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Checksum |
CNRead.getChecksum(Session session,
Identifier pid) |
Modifier and Type | Method and Description |
---|---|
Checksum |
MNRead.getChecksum(Identifier pid,
String checksumAlgorithm) |
Checksum |
MNRead.getChecksum(Session session,
Identifier pid,
String checksumAlgorithm)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Checksum |
MNRead.getChecksum(Session session,
Identifier pid,
String checksumAlgorithm) |
Modifier and Type | Field and Description |
---|---|
protected Checksum |
SystemMetadata.checksum |
protected Checksum |
ObjectInfo.checksum |
Modifier and Type | Method and Description |
---|---|
Checksum |
ObjectFactory.createChecksum()
Create an instance of
Checksum |
Checksum |
SystemMetadata.getChecksum()
Get the 'checksum' element value.
|
Checksum |
ObjectInfo.getChecksum()
Get the 'checksum' element value.
|
Checksum |
DescribeResponse.getDataONE_Checksum()
get The algorithm (SystemMetadata.algorithm) and Checksum (SystemMetadata.checksum) of the object being examined, drawn from the SystemMetadata.
|
Modifier and Type | Method and Description |
---|---|
JAXBElement<Checksum> |
ObjectFactory.createChecksum(Checksum value)
|
Modifier and Type | Method and Description |
---|---|
JAXBElement<Checksum> |
ObjectFactory.createChecksum(Checksum value)
|
void |
SystemMetadata.setChecksum(Checksum checksum)
Set the 'checksum' element value.
|
void |
ObjectInfo.setChecksum(Checksum checksum)
Set the 'checksum' element value.
|
Constructor and Description |
---|
DescribeResponse(ObjectFormatIdentifier objectFormatID,
BigInteger content_length,
Date last_modified,
Checksum checksum,
BigInteger serialVersion)
instantiate a DescribeResponse object
|
Modifier and Type | Method and Description |
---|---|
static Checksum |
ChecksumUtil.checksum(byte[] object,
String algorithm)
produce a checksum for the given byte array
|
static Checksum |
ChecksumUtil.checksum(InputStream is,
String checksumAlgorithm)
return a Checksum based on the input of the stream
A useful technique when creating systemMetadata is to wrap the the
inputStream in an org.apache.commons.io.input.CountingInputStream,
to get the length of the content from the stream (after calling this method).
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ChecksumUtil.areChecksumsEqual(Checksum checksum1,
Checksum checksum2)
Returns true if and only if checksum1 and checksum2 are equal:
Values are equal, algorithms are equal.
|
Copyright © 2019. All Rights Reserved.