Package org.suigeneris.jrcs.diff

The diff package implements the differencing engine that JRCS uses.

See:
          Description

Interface Summary
DiffAlgorithm A simple interface for implementations of differencing algorithms.
RevisionVisitor Definition of a Visitor interface for Revisions See "Design Patterns" by the Gang of Four
 

Class Summary
Diff Implements a differencing engine that works on arrays of Object.
DiffHelper Provides methods useful for setting up differencing scenarios.
Revision A Revision holds the series of deltas that describe the differences between two sequences.
 

Exception Summary
DifferentiationFailedException Thrown whenever the differencing engine cannot produce the differences between two revisions of ta text.
DiffException Base class for all exceptions emanating from this package.
PatchFailedException Thrown whenever a delta cannot be applied as a patch to a given text.
 

Package org.suigeneris.jrcs.diff Description

The diff package implements the differencing engine that JRCS uses. The engine has the power of Unix diff, is simple to understand, and can be used independently of the archive handling functionality. The entry point to the differencing engine is class Diff.

Text is represented as Object[] because the diff engine is capable of handling more than plain ascci. In fact, arrays of any type that implements hashCode() and equals() correctly can be subject to differencing using this library.

Two implementations of the differencing algorithm are provided.

Version:
$Id: package.html,v 1.3 2006/06/08 19:46:01 juanca Exp $
Author:
Juanco Anez
See Also:
Diff,


Copyright © 1999-2006 Juancarlo Añez, Caracas, Venezuela.
Some rights reserved
. http://www.suigeneris.org/jrcs