com.nothome.delta.text.package-info Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javaxdelta Show documentation
Show all versions of javaxdelta Show documentation
javaxdelta - Patch generator and patch tool using the GDIFF algorithm
The newest version!
/**
* This package contains classes for creating patches for text files output
* in a GDIFF-like format.
*
* The patch creation class is {@link Delta}.
*
* The patch applier class is {@link TextPatcher}.
*
* Example use:
String source = ...;
String target = ...;
Delta d = new Delta();
String patch = d.compute(source, target);
TextPatcher p = new TextPatcher(source);
String patchedSource = p.patch(patch);
assert target.equals(patchedSource);
*
* @see Delta
* @see GDiffPatcher
*/
package com.nothome.delta.text;