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 SVNDiffInstruction
private ByteBuffer
private ByteBuffer
private SVNDeltaCombiner.SVNOffsetsIndex
private SVNRangeTree
private ByteBuffer
private ByteBuffer
private ByteBuffer
private SVNDiffWindow
private ByteBuffer
private SVNDiffInstruction[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddWindow
(SVNDiffWindow window) private ByteBuffer
private SVNDiffWindow
combineWindows
(SVNDiffWindow window) private void
copySourceInstructions
(int offset, int limit, int targetOffset, SVNDiffWindow window, SVNDiffInstruction[] windowInsructions) private void
createOffsetsIndex
(SVNDiffInstruction[] instructions, int length) private int[]
decompress
(int instructionsLength, int dataLength) private ByteBuffer
ensureBufferSize
(ByteBuffer buffer, int dataLength) private int
findInstructionIndex
(SVNDeltaCombiner.SVNOffsetsIndex offsets, int offset) private long
readLongOffset
(ByteBuffer buffer) private int
readOffset
(ByteBuffer buffer) readWindow
(FSFile file, int version) void
reset()
void
skipWindow
(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
-