Class Difference.Part
java.lang.Object
org.netbeans.api.diff.Difference.Part
- All Implemented Interfaces:
Serializable
- Enclosing class:
Difference
This class represents a difference on a single line.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPart
(int type, int line, int pos1, int pos2) Creates a new instance of LineDiff -
Method Summary
-
Constructor Details
-
Part
public Part(int type, int line, int pos1, int pos2) Creates a new instance of LineDiff
-
-
Method Details
-
getType
-
getLine
public int getLine()Get the line number. -
getStartPosition
public int getStartPosition()Get the position on which the difference starts on this line. -
getEndPosition
public int getEndPosition()Get the position on which the difference ends on this line.
-