Class SVNChecksumInputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class SVNChecksumInputStream
    extends java.security.DigestInputStream
    Version:
    1.3
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String MD5_ALGORITHM  
      private byte[] ourDirtyBuffer  
      • Fields inherited from class java.security.DigestInputStream

        digest
      • Fields inherited from class java.io.FilterInputStream

        in
    • Constructor Summary

      Constructors 
      Constructor Description
      SVNChecksumInputStream​(java.io.InputStream source, java.lang.String algorithm)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      java.lang.String getDigest()  
      • Methods inherited from class java.security.DigestInputStream

        getMessageDigest, on, read, read, setMessageDigest, toString
      • Methods inherited from class java.io.FilterInputStream

        available, mark, markSupported, read, reset, skip
      • Methods inherited from class java.io.InputStream

        nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • ourDirtyBuffer

        private byte[] ourDirtyBuffer
    • Constructor Detail

      • SVNChecksumInputStream

        public SVNChecksumInputStream​(java.io.InputStream source,
                                      java.lang.String algorithm)
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Overrides:
        close in class java.io.FilterInputStream
        Throws:
        java.io.IOException
      • getDigest

        public java.lang.String getDigest()