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
FieldsModifier and TypeFieldDescription(package private) java.security.MessageDigest
(package private) java.io.OutputStream
(package private) long
-
Constructor Summary
ConstructorsConstructorDescriptionHashRepresentationStream
(java.io.OutputStream protoFile, java.security.MessageDigest digest) -
Method Summary
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 classjava.io.OutputStream
- Throws:
java.io.IOException
-
write
public void write(byte[] b, int off, int len) throws java.io.IOException - Overrides:
write
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
write
public void write(byte[] b) throws java.io.IOException - Overrides:
write
in classjava.io.OutputStream
- Throws:
java.io.IOException
-