Class Diff


  • public class Diff
    extends diff_match_patch.Diff
    Extension of diff_match_patch.Diff
    Version:
    $Id: Diff.java 11644 2008-06-23 16:36:27Z baranda $
    Author:
    Bruno Aranda (baranda@ebi.ac.uk)
    • Constructor Detail

      • Diff

        protected Diff​(diff_match_patch.Diff diff,
                       int indexInString1,
                       int indexInString2)

        Constructor for Diff.

        Parameters:
        diff - a diff_match_patch.Diff object.
        indexInString1 - a int.
        indexInString2 - a int.
    • Method Detail

      • getOperation

        public Operation getOperation()

        getOperation.

        Returns:
        a Operation object.
      • getText

        public String getText()

        getText.

        Returns:
        a String object.
      • getIndexInString1

        public int getIndexInString1()

        Getter for the field indexInString1.

        Returns:
        a int.
      • getIndexInString2

        public int getIndexInString2()

        Getter for the field indexInString2.

        Returns:
        a int.