|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES All Classes |
See:
Description
Interface Summary | |
---|---|
DiffTextWriter | Writes diff commands to a stream. |
SeekableSource | Text seekable source |
Class Summary | |
---|---|
CharBufferSeekableSource | Wrapper for a CharBuffer . |
Checksum | Checksum that uses character streams. |
Delta | Class for computing deltas against a source. |
GDiffTextWriter | A text-file format analog for GDIFF, which is only supported for binary streams. |
TextPatcher | Converts a text patch and source file to a resulting target file. |
This package contains classes for creating patches for text files output in a GDIFF-like format.
The patch creation class is Delta
.
The patch applier class is 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);
Delta
,
GDiffPatcher
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES All Classes |