|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.util.diff.DiffResult
com.liferay.portal.kernel.util
.
public class 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 | |
---|---|
static String |
SOURCE
Deprecated. |
static String |
TARGET
Deprecated. |
Constructor Summary | |
---|---|
DiffResult(int linePos,
List<String> changedLines)
Deprecated. |
|
DiffResult(int linePos,
String changedLine)
Deprecated. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Deprecated. |
List<String> |
getChangedLines()
Deprecated. |
int |
getLineNumber()
Deprecated. |
void |
setChangedLines(List<String> changedLines)
Deprecated. |
void |
setLineNumber(int lineNumber)
Deprecated. |
String |
toString()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String SOURCE
public static final String TARGET
Constructor Detail |
---|
public DiffResult(int linePos, List<String> changedLines)
public DiffResult(int linePos, String changedLine)
Method Detail |
---|
public List<String> getChangedLines()
public void setChangedLines(List<String> changedLines)
public int getLineNumber()
public void setLineNumber(int lineNumber)
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |