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 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.
      • addAddedPart

        void addAddedPart​(String text)
                   throws Exception
        Handles an addition.
        Parameters:
        text - string that was added.
        Throws:
        Exception - something went wrong.