|
JavaSVN Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tmatesoft.svn.core.io.diff.SVNAllDeltaGenerator
SVNDeltaGenerator
The SVNAllDeltaGenerator class is a delta generator that produces only full contents delta. This kind of delta is not a result of comparing two sources, but one that contains instructions to copy bytes only from new data, where new data is the full contents of a file.
Used to generate diff windows for binary files (that are not generally compared with base revision files), and for new text files, which contents are represented as a delta versus empty contents.
Constructor Summary | |
SVNAllDeltaGenerator()
Deprecated. |
Method Summary | |
void |
generateDiffWindow(String commitPath,
ISVNEditor consumer,
ISVNRAData workFile,
ISVNRAData baseFile)
Deprecated. Generates a diff window (windows) containing instructions to apply delta which is essentially the full contents of the target file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SVNAllDeltaGenerator()
Method Detail |
public void generateDiffWindow(String commitPath, ISVNEditor consumer, ISVNRAData workFile, ISVNRAData baseFile) throws SVNException
If the length of the working file represented by workFile
is more than 100K, then this method devides the full contents into
a number of copy-from-new-data deltas, where for each delta you have
a 100K chunk of file contents.
generateDiffWindow
in interface ISVNDeltaGenerator
commitPath
- a file pathconsumer
- an editor that receives the generated
dif window(s)workFile
- a working version of the file (target file)baseFile
- a base file does not take part in
generating diff windows
SVNException
- if an i/o error occurredISVNDeltaGenerator.generateDiffWindow(String, ISVNEditor, ISVNRAData, ISVNRAData)
,
SVNDiffWindowBuilder.createReplacementDiffWindow(long)
,
SVNDiffWindowBuilder.createReplacementDiffWindows(long, int)
|
JavaSVN Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |