Class SVNDeltaReader
java.lang.Object
org.tmatesoft.svn.core.internal.delta.SVNDeltaReader
Reads diff windows from stream and feeds them to the ISVNDeltaConsumer instance.
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ByteBufferprivate intprivate booleanprivate intprivate longprivate byte -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidappendToBuffer(byte[] data, int offset, int length) private intdeflate(int compressedLength, OutputStream out) voidnextWindow(byte[] data, int offset, int length, String path, ISVNDeltaConsumer consumer) private longprivate intvoidreset(String path, ISVNDeltaConsumer consumer)
-
Field Details
-
myBuffer
-
myHeaderBytes
private int myHeaderBytes -
myLastSourceOffset
private long myLastSourceOffset -
myLastSourceLength
private int myLastSourceLength -
myIsWindowSent
private boolean myIsWindowSent -
myVersion
private byte myVersion
-
-
Constructor Details
-
SVNDeltaReader
public SVNDeltaReader()
-
-
Method Details
-
reset
- Throws:
SVNException
-
nextWindow
public void nextWindow(byte[] data, int offset, int length, String path, ISVNDeltaConsumer consumer) throws SVNException - Throws:
SVNException
-
deflate
- Throws:
IOException
-
appendToBuffer
private void appendToBuffer(byte[] data, int offset, int length) -
readOffset
private int readOffset() -
readLongOffset
private long readLongOffset()
-