public static class DiffEngine.DiffLine
extends java.lang.Object
Constructor and Description |
---|
DiffLine(java.lang.String line,
int number,
char state) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLine()
Return the line text.
|
int |
getLineNumber()
Return the line number.
|
char |
getState()
Return the line diff state.
|
public java.lang.String getLine()
public int getLineNumber()
public char getState()
DiffEngine.UNCHANGED
for an unchanged line betwenn the left and the rightDiffEngine.UPDATED
for an updated line betwenn the left and the rightDiffEngine.DELETED
for an deleted line betwenn the left and the rightDiffEngine.NEW
for an new line betwenn the left and the rightCopyright © 2016, 2017, 2018, 2019, 2023 Herve Girod. All Rights Reserved. Documentation and source under the MIT licence