Class DiffDriver.Render

  • Enclosing class:
    DiffDriver

    public static class DiffDriver.Render
    extends java.lang.Object
    Represents the output of a string-string diff comparison. Contains the raw text for display, as well as formatting information.
    • Field Detail

      • text

        public java.lang.String text
    • Constructor Detail

      • Render

        public Render()
    • Method Detail

      • addRun

        public void addRun​(int start,
                           int length,
                           DiffDriver.Type type)
      • getRunText

        public java.lang.String getRunText​(DiffDriver.TextRun run)
        Get the text corresponding to the run
        Parameters:
        run -
        Returns: