Class SVNDeltaReader
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.delta.SVNDeltaReader
-
public class SVNDeltaReader extends java.lang.ObjectReads diff windows from stream and feeds them to the ISVNDeltaConsumer instance.- Version:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description private java.nio.ByteBuffermyBufferprivate intmyHeaderBytesprivate booleanmyIsWindowSentprivate intmyLastSourceLengthprivate longmyLastSourceOffsetprivate bytemyVersion
-
Constructor Summary
Constructors Constructor Description SVNDeltaReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidappendToBuffer(byte[] data, int offset, int length)private intdeflate(int compressedLength, java.io.OutputStream out)voidnextWindow(byte[] data, int offset, int length, java.lang.String path, ISVNDeltaConsumer consumer)private longreadLongOffset()private intreadOffset()voidreset(java.lang.String path, ISVNDeltaConsumer consumer)
-
-
-
Method Detail
-
reset
public void reset(java.lang.String path, ISVNDeltaConsumer consumer) throws SVNException- Throws:
SVNException
-
nextWindow
public void nextWindow(byte[] data, int offset, int length, java.lang.String path, ISVNDeltaConsumer consumer) throws SVNException- Throws:
SVNException
-
deflate
private int deflate(int compressedLength, java.io.OutputStream out) throws java.io.IOException- Throws:
java.io.IOException
-
appendToBuffer
private void appendToBuffer(byte[] data, int offset, int length)
-
readOffset
private int readOffset()
-
readLongOffset
private long readLongOffset()
-
-