Class FSTransactionRoot.HashRepresentationStream

java.lang.Object
java.io.OutputStream
org.tmatesoft.svn.core.internal.io.fs.FSTransactionRoot.HashRepresentationStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable
Enclosing class:
FSTransactionRoot

private static class FSTransactionRoot.HashRepresentationStream extends java.io.OutputStream
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) java.security.MessageDigest
     
    (package private) java.io.OutputStream
     
    (package private) long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    HashRepresentationStream(java.io.OutputStream protoFile, java.security.MessageDigest digest)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    write(byte[] b)
     
    void
    write(byte[] b, int off, int len)
     
    void
    write(int b)
     

    Methods inherited from class java.io.OutputStream

    close, flush, nullOutputStream

    Methods inherited from class java.lang.Object

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

    • mySize

      long mySize
    • myChecksum

      java.security.MessageDigest myChecksum
    • myProtoFile

      java.io.OutputStream myProtoFile
  • Constructor Details

    • HashRepresentationStream

      public HashRepresentationStream(java.io.OutputStream protoFile, java.security.MessageDigest digest)
  • Method Details

    • write

      public void write(int b) throws java.io.IOException
      Specified by:
      write in class java.io.OutputStream
      Throws:
      java.io.IOException
    • write

      public void write(byte[] b, int off, int len) throws java.io.IOException
      Overrides:
      write in class java.io.OutputStream
      Throws:
      java.io.IOException
    • write

      public void write(byte[] b) throws java.io.IOException
      Overrides:
      write in class java.io.OutputStream
      Throws:
      java.io.IOException