- Enclosing class:
- DiffMatch
public static class DiffMatch.Patch
extends Object
Class representing one patch operation.
-
Constructor Summary
Constructors
-
Method Summary
Emmulate GNU diff's format.
-
Constructor Details
-
Patch
public Patch()
Constructor. Initializes with an empty list of diffs.
-
Method Details
-
toString
Emmulate GNU diff's format. Header: @@ -382,8 +481,9 @@ Indicies are
printed as 1-based, not 0-based.
- Overrides:
toString
in class Object
- Returns:
- The GNU diff string.