All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nothome.delta.text.package-info Maven / Gradle / Ivy

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;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy