# Package org.tmatesoft.svn.core.io.diff

This package contains the classes necessary for such purposes as: generating delta windows upon comparing target bytes against source ones (also may be vs. empty), applying delta windows to files, serializing windows to byte buffers.

See: Description

Class Summary
Class | Description
--- | ---
SVNDeltaGenerator | The SVNDeltaGenerator is intended for generating diff windows of fixed size having a target version of a file against a source one.
SVNDeltaProcessor | The SVNDeltaProcessor is used to get a full text of a file in series applying diff windows being passed to a processor.
SVNDiffInstruction | The SVNDiffInstruction class represents instructions used as delta applying rules.
SVNDiffWindow | The SVNDiffWindow class represents a diff window that contains instructions and new data of a delta to apply to a file.
SVNDiffWindowApplyBaton | The SVNDiffWindowApplyBaton class is used to provide the source and target streams during applying diff windows.

## Package org.tmatesoft.svn.core.io.diff Description

This package contains the classes necessary for such purposes as: generating delta windows upon comparing target bytes against source ones (also may be vs. empty), applying delta windows to files, serializing windows to byte buffers.

Delta generator (SVNDeltaGenerator) is configurable to produce fixed size delta windows. A delta window (SVNDiffWindow) itself never keeps its entire set of decoded instructions (SVNDiffInstruction objects) in memory, but uses an iterator to access them in sequence. Also it's possible to use a single instruction object template to access window instructions in sequence - by simply changing properties of the same instruction object per iteration.