org.apache.subversion.javahl.types
Class Checksum

java.lang.Object
  extended by org.apache.subversion.javahl.types.Checksum
All Implemented Interfaces:
Serializable

public class Checksum
extends Object
implements Serializable

See Also:
Serialized Form

Nested Class Summary
static class Checksum.Kind
          Kinds of checksum
 
Constructor Summary
Checksum(byte[] digest, Checksum.Kind kind)
          Constructor to be called from the native code
 
Method Summary
 byte[] getDigest()
          Retrieve the digest
 Checksum.Kind getKind()
          Retrieve the kind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Checksum

public Checksum(byte[] digest,
                Checksum.Kind kind)
Constructor to be called from the native code

Parameters:
digest - bytes of the digest
kind - 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