| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Diff Utils library is an OpenSource library for performing the comparison operations between texts: computing diffs, applying patches, generating unified diffs or parsing them, generating diff output for easy future displaying (like side-by-side view) and so on.
Main reason to build this library was the lack of easy-to-use libraries with all the usual stuff you need while working with diff files. Originally it was inspired by JRCS library and it's nice design of diff module.
This library implements Myer's diff algorithm. But it can easily replaced by any other which is better for handing your texts. I have plan to add implementation of some in future.
Just add the code below to your maven dependencies:
<dependency>
<groupId>com.googlecode.java-diff-utils</groupId>
<artifactId>diffutils</artifactId>
<version>1.3.0</version>
</dependency>And for Ivy:
<dependency org="com.googlecode.java-diff-utils" name="diffutils" rev="1.3.0"/>http://www.adictosaltrabajo.com/tutoriales/tutoriales.php?pagina=CompararFicherosJavaDiffUtils (in Spanish). Thanks Miguel
This work is licensed under The Apache Software License, Version 1.1. Reason: The code contains work of HP, which contributed it under Apache-1.1. [Example code). It was easier to change the license to Apache-1.1 than to contact HP Legal for a code created in 2003 at HP Bristol.
| Back | FazBrowse Home | New Git URL |