Package org.outerj.daisy.diff.output
Interface TextDiffOutput
- All Known Implementing Classes:
TagSaxDiffOutput
public interface TextDiffOutput
Interface for classes that need to process the result from the tag-like
represenation of the output.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAddedPart
(String text) Handles an addition.void
addClearPart
(String text) Handles normal text.void
addRemovedPart
(String text) Handles a deletion.
-
Method Details
-
addClearPart
Handles normal text.- Parameters:
text
- string that was not changed.- Throws:
Exception
- something went wrong.
-
addRemovedPart
Handles a deletion.- Parameters:
text
- string that was removed.- Throws:
Exception
- something went wrong.
-
addAddedPart
Handles an addition.- Parameters:
text
- string that was added.- Throws:
Exception
- something went wrong.
-