| org.tmatesoft.svn.core.io.ISVNDeltaConsumer
All known Subclasses: org.tmatesoft.svn.core.internal.io.fs.FSDeltaConsumer, org.tmatesoft.svn.core.internal.io.fs.FSOutputStream,
ISVNDeltaConsumer | public interface ISVNDeltaConsumer (Code) | | The ISVNDeltaConsumer interface is implemented by receivers
of diff windows. For example, such consumers are passed to a
org.tmatesoft.svn.core.io.diff.SVNDeltaGenerator deltagenerator when generating a series of diff windows from sources (text/binary streams).
version: 1.1.1 author: TMate Software Ltd. |
applyTextDelta | public void applyTextDelta(String path, String baseChecksum) throws SVNException(Code) | | Starts applying text delta(s) to an opened file.
Parameters: path - a file path relative to the edit root directory Parameters: baseChecksum - an MD5 checksum for the base file contents (before thefile is changed) throws: SVNException - if the calculated base file checksum didn't match the expected baseChecksum |
textDeltaChunk | public OutputStream textDeltaChunk(String path, SVNDiffWindow diffWindow) throws SVNException(Code) | | Collects a next delta chunk.
The return type is nomore relevant and is left only for backward compatibility.
So, the return value may be just null. Otherwise
if it's not null, the stream
will be immediately closed.
If there are more than one windows for the file,
this method is called several times.
Parameters: path - a file path relative to the edit root directory Parameters: diffWindow - a next diff window an output stream throws: SVNException - |
textDeltaEnd | public void textDeltaEnd(String path) throws SVNException(Code) | | Finalizes collecting text delta(s).
Parameters: path - a file path relative to the edit root directory throws: SVNException - |
|
|