|
JavaSVN Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ISVNFileRevisionHandler interface should be implemented for handling information about file revisions - that is file path, properties, revision properties against a particular revision.
This interface is provided to a
getFileRevisions()
method of SVNRepository when getting file revisions (in particular, when annotating).
SVNRepository
,
SVNAnnotationGenerator
Method Summary | |
void |
applyTextDelta(String token)
Starts deltas applying for a given file name or path (denoted by token). |
void |
closeRevision(String token)
Performs final handling for the processed file revision (when all deltas are applied and fulltext is got). |
void |
openRevision(SVNFileRevision fileRevision)
Handles a file revision info. |
OutputStream |
textDeltaChunk(String token,
SVNDiffWindow diffWindow)
Handles a next diff window for a file (represented by a token) and returns an output stream to write instructions and new text data for the window. |
void |
textDeltaEnd(String token)
Finilazes collecting deltas (diff windows) for a file. |
Method Detail |
public void openRevision(SVNFileRevision fileRevision) throws SVNException
fileRevision
- a SVNFileRevision object representing file
revision information
SVNException
SVNFileRevision
public void applyTextDelta(String token) throws SVNException
token
- a file token
SVNException
public OutputStream textDeltaChunk(String token, SVNDiffWindow diffWindow) throws SVNException
token
- a file path or name (or anything an implementor would
like to use for his own implementation)diffWindow
- a diff window representing a delta chunk
diffWindow
will be written
SVNException
public void textDeltaEnd(String token) throws SVNException
token
- defines a path or a name (or anything an implementor would
like to use for his own implementation) of the file
for which finalizing steps should be performed
SVNException
public void closeRevision(String token) throws SVNException
token
- a file token (name or path)
SVNException
|
JavaSVN Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |