net.sf.statsvn.util.svnkit
public class SvnKitDiff extends SvnDiffUtils
BINARY_TYPE, INDEX_MARKER, processor, PROPERTY_CHANGE, PROPERTY_NAME, PROPERTY_NAME_LINE, RESULT_SIZE
Constructor and Description |
---|
SvnKitDiff(SvnKitProcessor processor)
Performs diffs via svnkit.
|
Modifier and Type | Method and Description |
---|---|
File |
getCheckoutDirectory()
Shorthand to get the checked out directory
|
Vector |
getLineDiff(String newRevNr)
Gets diffs inside one revision.
|
int[] |
getLineDiff(String oldRevNr,
String newRevNr,
String filename)
Gets a single diff for a file between two revisions.
|
org.tmatesoft.svn.core.wc.SVNClientManager |
getManager()
Shorthand for the svnkit client manager.
|
SvnKitProcessor |
getSvnKitProcessor()
Shorthand to get the base processor
|
appendResults, callSvnDiff, callSvnDiff, getProcessor, isBinaryErrorMessage, parseDiff, parseMultipleDiffStream, parseSingleDiffStream, verifyOutput
public SvnKitDiff(SvnKitProcessor processor)
processor
- the base processorpublic File getCheckoutDirectory()
public Vector getLineDiff(String newRevNr) throws IOException, BinaryDiffException
getLineDiff
in interface ISvnDiffProcessor
getLineDiff
in class SvnDiffUtils
newRevNr
- new revision numberIOException
- problem parsing the streamBinaryDiffException
- if the error message is due to trying to diff binary files.public int[] getLineDiff(String oldRevNr, String newRevNr, String filename) throws IOException, BinaryDiffException
getLineDiff
in interface ISvnDiffProcessor
getLineDiff
in class SvnDiffUtils
oldRevNr
- old revision numbernewRevNr
- new revision numberfilename
- the filenameIOException
- problem parsing the streamBinaryDiffException
- if the error message is due to trying to diff binary files.public org.tmatesoft.svn.core.wc.SVNClientManager getManager()
public SvnKitProcessor getSvnKitProcessor()