Class SVNDeltaAlgorithm
java.lang.Object
org.tmatesoft.svn.core.internal.delta.SVNDeltaAlgorithm
- Direct Known Subclasses:
SVNVDeltaAlgorithm
,SVNXDeltaAlgorithm
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ByteBuffer
private int
private ByteBuffer
private int
private SVNDiffInstruction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
computeDelta
(byte[] a, int aLength, byte[] b, int bLength) protected void
copyFromNewData
(byte[] data, int offset, int length) protected void
copyFromSource
(int position, int length) protected void
copyFromTarget
(int position, int length) private static ByteBuffer
ensureBufferSize
(ByteBuffer buffer, int size) getData()
int
int
void
reset()
-
Field Details
-
myNewData
-
myData
-
myNewDataLength
private int myNewDataLength -
myInstructionsLength
private int myInstructionsLength -
myTemplateInstruction
-
-
Constructor Details
-
SVNDeltaAlgorithm
public SVNDeltaAlgorithm()
-
-
Method Details
-
reset
public void reset() -
computeDelta
public abstract void computeDelta(byte[] a, int aLength, byte[] b, int bLength) -
getData
-
getInstructionsLength
public int getInstructionsLength() -
getNewDataLength
public int getNewDataLength() -
copyFromSource
protected void copyFromSource(int position, int length) -
copyFromTarget
protected void copyFromTarget(int position, int length) -
copyFromNewData
protected void copyFromNewData(byte[] data, int offset, int length) -
ensureBufferSize
-