Interface ISVNGNUDiffGenerator

All Superinterfaces:
ISVNDiffGenerator
All Known Implementing Classes:
DefaultSVNGNUDiffGenerator

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
  • Field Details

    • ADDED

      static final int ADDED
      The type of modification denoting addition.
      See Also:
    • DELETED

      static final int DELETED
      The type of modification denoting deletion.
      See Also:
    • MODIFIED

      static final int MODIFIED
      The type of modification denoting modification.
      See Also:
    • COPIED

      static final int COPIED
      The type of modification denoting copying.
      See Also:
    • 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:
  • Method Details

    • displayHeader

      void displayHeader(int type, java.lang.String path, java.lang.String copyFromPath, long copyFromRevision, java.io.OutputStream result) throws SVNException
      Informs this diff generator about a change to a path.
      Parameters:
      type - one of static fields of this interface
      path - a changed path
      copyFromPath - a copy-from source path if path is the result of a copy
      copyFromRevision - a copy-from source revision if path is the result of a copy
      result - an output stream where a header is to be written
      Throws:
      SVNException