|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--edu.harvard.hul.ois.jhove.Checksum
This class encapsulates the result of calculations which provide a greater or lesser degree of confirmation of the integrity of a digital object's content, including checksums, CRC's, message digests, etc.
ChecksumType,
Checksummer| Constructor Summary | |
Checksum(java.lang.String value,
ChecksumType type)
Creates a Checksum with a given value and type |
|
| Method Summary | |
ChecksumType |
getType()
Returns this Checksum's type |
java.lang.String |
getValue()
Returns this Checksum's value |
void |
setType(ChecksumType type)
Sets the type of this Checksum |
void |
setValue(java.lang.String value)
Sets the value of this Checksum |
static byte |
unsignedByteToByte(int value)
Maps unsigned byte value (0 to 256) to signed byte value (-128 to 127). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Checksum(java.lang.String value,
ChecksumType type)
| Method Detail |
public ChecksumType getType()
public java.lang.String getValue()
public void setType(ChecksumType type)
public void setValue(java.lang.String value)
public static byte unsignedByteToByte(int value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||