Class SVNDeltaCombiner
java.lang.Object
org.tmatesoft.svn.core.internal.delta.SVNDeltaCombiner
public class SVNDeltaCombiner
extends java.lang.Object
- Version:
- 1.3
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate SVNDiffInstructionprivate java.nio.ByteBufferprivate java.nio.ByteBufferprivate SVNDeltaCombiner.SVNOffsetsIndexprivate SVNRangeTreeprivate java.nio.ByteBufferprivate java.nio.ByteBufferprivate java.nio.ByteBufferprivate SVNDiffWindowprivate java.nio.ByteBufferprivate SVNDiffInstruction[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjava.nio.ByteBufferaddWindow(SVNDiffWindow window) private java.nio.ByteBufferclearBuffer(java.nio.ByteBuffer b) private SVNDiffWindowcombineWindows(SVNDiffWindow window) private voidcopySourceInstructions(int offset, int limit, int targetOffset, SVNDiffWindow window, SVNDiffInstruction[] windowInsructions) private voidcreateOffsetsIndex(SVNDiffInstruction[] instructions, int length) private int[]decompress(int instructionsLength, int dataLength) private java.nio.ByteBufferensureBufferSize(java.nio.ByteBuffer buffer, int dataLength) private intfindInstructionIndex(SVNDeltaCombiner.SVNOffsetsIndex offsets, int offset) private longreadLongOffset(java.nio.ByteBuffer buffer) private intreadOffset(java.nio.ByteBuffer buffer) readWindow(FSFile file, int version) voidreset()voidskipWindow(FSFile file) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
myWindow
-
myWindowData
private java.nio.ByteBuffer myWindowData -
myNextWindowInstructions
private java.nio.ByteBuffer myNextWindowInstructions -
myNextWindowData
private java.nio.ByteBuffer myNextWindowData -
myTarget
private java.nio.ByteBuffer myTarget -
myRealTarget
private java.nio.ByteBuffer myRealTarget -
myReadWindowBuffer
private java.nio.ByteBuffer myReadWindowBuffer -
myRangeTree
-
myOffsetsIndex
-
myWindowInstructions
-
myInstructionTemplate
-
-
Constructor Details
-
SVNDeltaCombiner
public SVNDeltaCombiner()
-
-
Method Details
-
reset
public void reset() -
readWindow
- Throws:
SVNException
-
decompress
private int[] decompress(int instructionsLength, int dataLength) throws java.io.IOException - Throws:
java.io.IOException
-
skipWindow
- Throws:
SVNException
-
addWindow
- Throws:
SVNException
-
combineWindows
- Throws:
SVNException
-
copySourceInstructions
private void copySourceInstructions(int offset, int limit, int targetOffset, SVNDiffWindow window, SVNDiffInstruction[] windowInsructions) throws SVNException - Throws:
SVNException
-
createOffsetsIndex
-
findInstructionIndex
private int findInstructionIndex(SVNDeltaCombiner.SVNOffsetsIndex offsets, int offset) throws SVNException - Throws:
SVNException
-
clearBuffer
private java.nio.ByteBuffer clearBuffer(java.nio.ByteBuffer b) -
ensureBufferSize
private java.nio.ByteBuffer ensureBufferSize(java.nio.ByteBuffer buffer, int dataLength) -
readOffset
private int readOffset(java.nio.ByteBuffer buffer) -
readLongOffset
private long readLongOffset(java.nio.ByteBuffer buffer)
-