Class Checksum
- java.lang.Object
-
- org.apache.subversion.javahl.types.Checksum
-
- All Implemented Interfaces:
java.io.Serializable
public class Checksum extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChecksum.KindKinds of checksum
-
Field Summary
Fields Modifier and Type Field Description private byte[]digestDigest of the checksumprivate Checksum.KindkindKind of the Checksumprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description Checksum(byte[] digest, Checksum.Kind kind)Constructor to be called from the native code
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getDigest()Retrieve the digestChecksum.KindgetKind()Retrieve the kind
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
digest
private byte[] digest
Digest of the checksum
-
kind
private Checksum.Kind kind
Kind of the Checksum
-
-
Constructor Detail
-
Checksum
public Checksum(byte[] digest, Checksum.Kind kind)Constructor to be called from the native code- Parameters:
digest- bytes of the digestkind- kind of checksum
-
-
Method Detail
-
getDigest
public byte[] getDigest()
Retrieve the digest- Returns:
- the digest
-
getKind
public Checksum.Kind getKind()
Retrieve the kind- Returns:
- the kind
-
-