Package com.liferay.diff
Class DiffResult
java.lang.Object
com.liferay.diff.DiffResult
Represents a change between one or several lines. changeType
tells if the change happened in source or target. lineNumber
holds the line number of the first modified line. This line number refers to
a line in source or target, depending on the changeType
value.
changedLines
is a list of strings, each string is a line that is
already highlighted, indicating where the changes are.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDiffResult
(int linePos, String changedLine) DiffResult
(int linePos, List<String> changedLines) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
int
hashCode()
void
setChangedLines
(List<String> changedLines) void
setLineNumber
(int lineNumber) toString()
-
Field Details
-
SOURCE
- See Also:
-
TARGET
- See Also:
-
-
Constructor Details
-
DiffResult
-
DiffResult
-
-
Method Details