| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ISVNDeltaConsumer
The ISVNDeltaConsumer interface is implemented by receivers 
 of diff windows. For example, such consumers are passed to a 
 delta
 generator when generating a series of diff windows from sources (text/binary streams).
| Method Summary | |
|---|---|
 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).  | 
| Method Detail | 
|---|
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 window
SVNException
void textDeltaEnd(java.lang.String path)
                  throws SVNException
path - a file path relative to the edit root       
                        directory
SVNException
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||