Class VariationUnparser
java.lang.Object
org.variantsync.diffdetective.variation.VariationUnparser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringExtract the state of the diffed text before or afterdiff.unparseDiff(VariationDiff<L> diff) UnparseVariationDiffs into aString.unparseTree(VariationTree<L> tree) UnparseVariationTrees into aString.
-
Constructor Details
-
VariationUnparser
public VariationUnparser()
-
-
Method Details
-
unparseTree
UnparseVariationTrees into aString.- Type Parameters:
L- the type of labels of the tree- Parameters:
tree- that is unparsed- Returns:
- the unparsed variation tree
-
unparseDiff
UnparseVariationDiffs into aString.- Type Parameters:
L- the type of labels of the tree- Parameters:
diff- that is unparsed- Returns:
- the unparsed variation diff
- Throws:
IOException
-
undiff
Extract the state of the diffed text before or afterdiff.- Parameters:
diff- the diff from which the state is extractedtime- that the returned state represents- Returns:
- the state before or after the diff
-