Liferay 6.0.5

com.liferay.util.diff
Class DiffResult

java.lang.Object
  extended by com.liferay.util.diff.DiffResult

Deprecated. This class has been repackaged at com.liferay.portal.kernel.util.

public class DiffResult
extends Object

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

SOURCE

public static final String SOURCE
Deprecated. 
See Also:
Constant Field Values

TARGET

public static final String TARGET
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

DiffResult

public DiffResult(int linePos,
                  List<String> changedLines)
Deprecated. 

DiffResult

public DiffResult(int linePos,
                  String changedLine)
Deprecated. 
Method Detail

getChangedLines

public List<String> getChangedLines()
Deprecated. 

setChangedLines

public void setChangedLines(List<String> changedLines)
Deprecated. 

getLineNumber

public int getLineNumber()
Deprecated. 

setLineNumber

public void setLineNumber(int lineNumber)
Deprecated. 

equals

public boolean equals(Object obj)
Deprecated. 
Overrides:
equals in class Object

toString

public String toString()
Deprecated. 
Overrides:
toString in class Object

Liferay 6.0.5