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 |
---|---|
java.io.File |
getCheckoutDirectory()
Shorthand to get the checked out directory
|
java.util.Vector |
getLineDiff(java.lang.String newRevNr)
Gets diffs inside one revision.
|
int[] |
getLineDiff(java.lang.String oldRevNr,
java.lang.String newRevNr,
java.lang.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 java.io.File getCheckoutDirectory()
public java.util.Vector getLineDiff(java.lang.String newRevNr) throws java.io.IOException, BinaryDiffException
getLineDiff
in interface ISvnDiffProcessor
getLineDiff
in class SvnDiffUtils
newRevNr
- new revision numberjava.io.IOException
- problem parsing the streamBinaryDiffException
- if the error message is due to trying to diff binary files.public int[] getLineDiff(java.lang.String oldRevNr, java.lang.String newRevNr, java.lang.String filename) throws java.io.IOException, BinaryDiffException
getLineDiff
in interface ISvnDiffProcessor
getLineDiff
in class SvnDiffUtils
oldRevNr
- old revision numbernewRevNr
- new revision numberfilename
- the filenamejava.io.IOException
- 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()