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:
TagSaxDiffOutput
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addAddedPart(String text)
Handles an addition.void
addClearPart(String text)
Handles normal text.void
addRemovedPart(String text)
Handles a deletion.
-
-
-
Method Detail
-
addClearPart
void addClearPart(String text) throws Exception
Handles normal text.- Parameters:
text
- string that was not changed.- Throws:
Exception
- something went wrong.
-
addRemovedPart
void addRemovedPart(String text) throws Exception
Handles a deletion.- Parameters:
text
- string that was removed.- Throws:
Exception
- something went wrong.
-
-