Class DiffParser
java.lang.Object
org.variantsync.studies.evolution.simulation.diff.DiffParser
DiffParser provides the functionality for parsing and converting the difference determined by UNIX diff into our
internal representation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OriginalDiff
toOriginalDiff
(List<String> lines) Parse the given lines of text into a OriginalDiff object that represents the difference between two versions of a software project.
-
Constructor Details
-
DiffParser
public DiffParser()
-
-
Method Details
-
toOriginalDiff
Parse the given lines of text into a OriginalDiff object that represents the difference between two versions of a software project.- Parameters:
lines
- The lines from UNIX diff's output that are to be parsed.- Returns:
- An OriginalDiff instance representing the parsed difference
-