public abstract class ChecksumValue
extends java.lang.Object
Constructor and Description |
---|
ChecksumValue() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
abstract ChecksumAlgorithm |
getAlgorithm() |
abstract byte[] |
getByteValue() |
abstract java.lang.String |
getHexValue() |
abstract long |
getOffset() |
java.lang.String |
getValue()
Deprecated.
Please use
getHexValue() instead |
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toString(boolean includeByteCount)
Outputs this checksum in the format
{algorithm}/[{offset}/]{value} ,
where the offset may or may not be present. |
public abstract ChecksumAlgorithm getAlgorithm()
public abstract long getOffset()
public abstract byte[] getByteValue()
public abstract java.lang.String getHexValue()
@Deprecated public java.lang.String getValue()
getHexValue()
insteadpublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(boolean includeByteCount)
{algorithm}/[{offset}/]{value}
,
where the offset may or may not be present.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object