Interface VariabilityAwareDiffer<L extends Label>
- All Known Subinterfaces:
VariabilityAwareTextDiffer,VariabilityAwareTreeDiffer<L>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A generic interface for creating variation diffs from two states represented as text.
This interface represents a differ that can walk any of the paths present in our visual abstract
(see below) and thus the states before and after the edit are represented as text. For each of
the two paths, parsing a text diff and diffing variation trees, there is a specialized version of
this interface, 
VariabilityAwareTextDiffer and VariabilityAwareTreeDiffer
respectively. In particular, VariabilityAwareTreeDiffer represents the input states as
VariationTrees.

- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionCreate a variation diff by diffing the content of twoReaders.default VariationDiff<L> Create a variation diff by diffing the content of twoStrings.default VariationDiff<L> Create a variation diff by diffing the content of twoPaths.
-
Method Details
-
diff
VariationDiff<L> diff(Reader before, Reader after, Source beforeSource, Source afterSource) throws IOException, DiffParseException Create a variation diff by diffing the content of twoReaders. Fortraceability, bothReaders are paired with aSource.- Throws:
IOExceptionDiffParseException
-
diff
default VariationDiff<L> diff(String before, String after, Source beforeSource, Source afterSource) throws IOException, DiffParseException Create a variation diff by diffing the content of twoStrings. Fortraceability, bothStrings are paired with aSource.- Throws:
IOExceptionDiffParseException
-
diff
Create a variation diff by diffing the content of twoPaths.- Throws:
IOExceptionDiffParseException- See Also:
-