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:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    Kinds of checksum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private byte[]
    Digest of the checksum
    Kind of the Checksum
    private static final long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Checksum(byte[] digest, Checksum.Kind kind)
    Constructor to be called from the native code
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Retrieve the digest
    Retrieve the kind

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • digest

      private byte[] digest
      Digest of the checksum
    • kind

      private Checksum.Kind kind
      Kind of the Checksum
  • Constructor Details

    • 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 Details

    • getDigest

      public byte[] getDigest()
      Retrieve the digest
      Returns:
      the digest
    • getKind

      public Checksum.Kind getKind()
      Retrieve the kind
      Returns:
      the kind