public interface ISVNDeltaConsumer
delta
generator
when generating a series of diff windows from sources (text/binary streams).Modifier and Type | Method and Description |
---|---|
void |
applyTextDelta(java.lang.String path,
java.lang.String baseChecksum)
Starts applying text delta(s) to an opened file.
|
java.io.OutputStream |
textDeltaChunk(java.lang.String path,
SVNDiffWindow diffWindow)
Collects a next delta chunk.
|
void |
textDeltaEnd(java.lang.String path)
Finalizes collecting text delta(s).
|
void applyTextDelta(java.lang.String path, java.lang.String baseChecksum) throws SVNException
path
- a file path relative to the edit root
directorybaseChecksum
- an MD5 checksum for the base file contents (before the
file is changed)SVNException
- if the calculated base file checksum didn't match the expected
baseChecksum
java.io.OutputStream textDeltaChunk(java.lang.String path, SVNDiffWindow diffWindow) throws SVNException
If there are more than one windows for the file, this method is called several times.
path
- a file path relative to the edit root
directorydiffWindow
- a next diff windowSVNException
void textDeltaEnd(java.lang.String path) throws SVNException
path
- a file path relative to the edit root
directorySVNException
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.