org.tmatesoft.svn.core.wc.admin
Interface ISVNGNUDiffGenerator
- ISVNDiffGenerator
public interface ISVNGNUDiffGenerator
The ISVNGNUDiffGenerator is the interface for diff generators used
in diff operations of SVNLookClient.
static int | ADDED- The type of modification denoting addition.
|
static int | COPIED- The type of modification denoting copying.
|
static int | DELETED- The type of modification denoting deletion.
|
static int | MODIFIED- The type of modification denoting modification.
|
static int | NO_DIFF- The type of modification denoting that no diff is available after
a header.
|
void | displayHeader(int type, String path, String copyFromPath, long copyFromRevision, OutputStream result)- Informs this diff generator about a change to a path.
|
createTempDirectory, displayAddedDirectory, displayDeletedDirectory, displayFileDiff, displayPropDiff, getEncoding, init, isDiffAdded, isDiffCopied, isDiffDeleted, isDiffUnversioned, isForcedBinaryDiff, setBasePath, setDiffAdded, setDiffCopied, setDiffDeleted, setDiffUnversioned, setEncoding, setForcedBinaryDiff |
ADDED
public static final int ADDED
The type of modification denoting addition.
COPIED
public static final int COPIED
The type of modification denoting copying.
DELETED
public static final int DELETED
The type of modification denoting deletion.
MODIFIED
public static final int MODIFIED
The type of modification denoting modification.
NO_DIFF
public 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.
displayHeader
public void displayHeader(int type,
String path,
String copyFromPath,
long copyFromRevision,
OutputStream result)
throws SVNException Informs this diff generator about a change to a path.
type - one of static fields of this interfacepath - a changed pathcopyFromPath - a copy-from source path if path is
the result of a copycopyFromRevision - a copy-from source revision if path is
the result of a copyresult - an output stream where a header is to be written
Copyright © 2004-2006 TMate Software Ltd. All Rights Reserved.