Class LineDiffFormat

java.lang.Object
ch.tocco.nice2.persist.history.impl.diff.LineDiffFormat

public class LineDiffFormat extends Object
Uses `difflib` to generate a textual diff from the xml representation of the two given history entries. The `context` parameter specifies how many equal lines are included around a block of changes.
  • Constructor Details

    • LineDiffFormat

      public LineDiffFormat(String sideA, String sideB, int context)
  • Method Details

    • createDiff

      public TextDiff createDiff()