Package org.tmatesoft.svn.core.wc.admin
Interface ISVNGNUDiffGenerator
-
- All Superinterfaces:
ISVNDiffGenerator
public interface ISVNGNUDiffGenerator extends ISVNDiffGenerator
The ISVNGNUDiffGenerator is the interface for diff generators used in diff operations of SVNLookClient.- Since:
- 1.2
- Version:
- 1.3
- Author:
- TMate Software Ltd.
-
-
Field Summary
Fields Modifier and Type Field Description static intADDEDThe type of modification denoting addition.static intCOPIEDThe type of modification denoting copying.static intDELETEDThe type of modification denoting deletion.static intMODIFIEDThe type of modification denoting modification.static intNO_DIFFThe type of modification denoting that no diff is available after a header.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddisplayHeader(int type, java.lang.String path, java.lang.String copyFromPath, long copyFromRevision, java.io.OutputStream result)Informs this diff generator about a change to a path.-
Methods inherited from interface org.tmatesoft.svn.core.wc.ISVNDiffGenerator
createTempDirectory, displayAddedDirectory, displayDeletedDirectory, displayFileDiff, displayPropDiff, getEncoding, getEOL, init, isDiffAdded, isDiffCopied, isDiffDeleted, isDiffUnversioned, isForcedBinaryDiff, setBasePath, setDiffAdded, setDiffCopied, setDiffDeleted, setDiffUnversioned, setEncoding, setEOL, setForcedBinaryDiff
-
-
-
-
Field Detail
-
ADDED
static final int ADDED
The type of modification denoting addition.- See Also:
- Constant Field Values
-
DELETED
static final int DELETED
The type of modification denoting deletion.- See Also:
- Constant Field Values
-
MODIFIED
static final int MODIFIED
The type of modification denoting modification.- See Also:
- Constant Field Values
-
COPIED
static final int COPIED
The type of modification denoting copying.- See Also:
- Constant Field Values
-
NO_DIFF
static final int NO_DIFF
The type of modification denoting that no diff is available after a header. Called if a header is written, but differences can not be written due to some reasons. Default generator simple prints a new line symbol when handling this type of change.- See Also:
- Constant Field Values
-
-
Method Detail
-
displayHeader
void displayHeader(int type, java.lang.String path, java.lang.String copyFromPath, long copyFromRevision, java.io.OutputStream result) throws SVNExceptionInforms this diff generator about a change to a path.- Parameters:
type- one of static fields of this interfacepath- a changed pathcopyFromPath- a copy-from source path ifpathis the result of a copycopyFromRevision- a copy-from source revision ifpathis the result of a copyresult- an output stream where a header is to be written- Throws:
SVNException
-
-