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 class
Checksum.Kind
Kinds of checksum
-
Field Summary
Fields Modifier and Type Field Description private byte[]
digest
Digest of the checksumprivate Checksum.Kind
kind
Kind of the Checksumprivate static long
serialVersionUID
-
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.Kind
getKind()
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
-
-