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

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

There is a newer version: 1.5
Show newest version
/**
 * 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