Class SVNDeltaCombiner
java.lang.Object
org.tmatesoft.svn.core.internal.delta.SVNDeltaCombiner
- Version:
- 1.3
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate SVNDiffInstructionprivate ByteBufferprivate ByteBufferprivate SVNDeltaCombiner.SVNOffsetsIndexprivate SVNRangeTreeprivate ByteBufferprivate ByteBufferprivate ByteBufferprivate SVNDiffWindowprivate ByteBufferprivate SVNDiffInstruction[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddWindow(SVNDiffWindow window) private ByteBufferprivate 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 ByteBufferensureBufferSize(ByteBuffer buffer, int dataLength) private intfindInstructionIndex(SVNDeltaCombiner.SVNOffsetsIndex offsets, int offset) private longreadLongOffset(ByteBuffer buffer) private intreadOffset(ByteBuffer buffer) readWindow(FSFile file, int version) voidreset()voidskipWindow(FSFile file)
-
Field Details
-
myWindow
-
myWindowData
-
myNextWindowInstructions
-
myNextWindowData
-
myTarget
-
myRealTarget
-
myReadWindowBuffer
-
myRangeTree
-
myOffsetsIndex
-
myWindowInstructions
-
myInstructionTemplate
-
-
Constructor Details
-
SVNDeltaCombiner
public SVNDeltaCombiner()
-
-
Method Details
-
reset
public void reset() -
readWindow
- Throws:
SVNException
-
decompress
- Throws:
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
-
ensureBufferSize
-
readOffset
-
readLongOffset
-