← 返回首页
Home · java-diff-utils/java-diff-utils Wiki · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus
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.

Wiki pages Pages 2

Clone this wiki locally

Footer

© 2026 GitHub, Inc.