Interface ISvnDiffProcessor
- All Known Implementing Classes:
SvnDiffUtils, SvnKitDiff
public interface ISvnDiffProcessor
Performs svn diff queries.
- Author:
- jkealey
-
Method Summary
Modifier and TypeMethodDescriptiongetLineDiff(String newRevNr) Returns line count differences for all files in a particular revision.int[]getLineDiff(String oldRevNr, String newRevNr, String filename) Returns line count differences between two revisions of a file.
-
Method Details
-
getLineDiff
int[] getLineDiff(String oldRevNr, String newRevNr, String filename) throws IOException, BinaryDiffException Returns line count differences between two revisions of a file.- Parameters:
oldRevNr- old revision numbernewRevNr- new revision numberfilename- the filename- Returns:
- A int[2] array of [lines added, lines removed] is returned.
- Throws:
IOException- problem parsing the streamBinaryDiffException- if the error message is due to trying to diff binary files.
-
getLineDiff
Returns line count differences for all files in a particular revision.- Parameters:
newRevNr- new revision number- Returns:
- A vector of object[3] array of [filename, int[2](lines added, lines removed), isBinary] is returned.
- Throws:
IOException- problem parsing the streamBinaryDiffException- if the error message is due to trying to diff binary files.
-