Skip to content
Tobias edited this page Oct 16, 2022 · 13 revisions

Introduction

The main purpose of java-diff-utils was and is to provide an easy to use toolset to handle diffs of some kind.

This library, at least this fork, does rely on Java 8 and later. Sorry, if you have to stick with older versions.

There are three main entry classes into this library:

  • DiffUtils: to calculate patches and deltas
  • UnifiedDiffUtils: to process UnifiedDiff files (import / create)
  • text/DiffRowGenerator: to provide a difference set in a readable form
  • unifieddiff/: contains the new implementation of UnifiedDiff parser tools
    • UnifiedDiffReader.parseUnifiedDiff

To look at the examples, I put it all into the test/examples folder of diffutils.

Examples

Search Examples for more.

Clone this wiki locally