
com.nothome.delta.text.package-info Maven / Gradle / Ivy
/**
* This package contains classes for creating patches for text files output
* in a GDIFF-like format.
*
* The patch creation class is {@link com.nothome.delta.Delta}.
*
* The patch applier class is {@link com.nothome.delta.text.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 com.nothome.delta.Delta
* @see com.nothome.delta.GDiffPatcher
*/
package com.nothome.delta.text;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy