Class DiffLinesLabel
java.lang.Object
org.variantsync.diffdetective.variation.DiffLinesLabel
- All Implemented Interfaces:
Label
A label consisting of lines with
line number information for each line.
Using this label, a VariationDiff encodes all information (except the original line
ending encoding, i.e. LF vs CRLF) necessary to reconstruct the original files
and, when used during construction, the line diff between these files.-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDiffLine(DiffLinesLabel.Line newLine) voidaddDiffLines(List<DiffLinesLabel.Line> newLines) clone()getLines()static DiffLinesLabelofCodeBlock(String codeBlock) toString()static DiffLinesLabelwithInvalidLineNumbers(List<String> lines)
-
Field Details
-
lines
-
-
Constructor Details
-
DiffLinesLabel
public DiffLinesLabel() -
DiffLinesLabel
-
-
Method Details