com.starbase.diff
Interface Differ

All Known Implementing Classes:
StarTeamDiff

public interface Differ

Differ is a very simple interface for providing "diff" functionality. We most commonly think of diffing two files but this can apply to any two sequences of Objects. For example, this could be used to show differences between the characters in two lines.


Method Summary
 EditList diff(Sequence source, Sequence target, DiffCompare compare)
          The diff method takes two sequences of objects and an instance of a Compare interface for comparing Objects in the sequences and returns an EditList that can be used to transform the source in to target.
 

Method Detail

diff

public EditList diff(Sequence source,
                     Sequence target,
                     DiffCompare compare)
              throws DiffException
The diff method takes two sequences of objects and an instance of a Compare interface for comparing Objects in the sequences and returns an EditList that can be used to transform the source in to target.

DiffException


StarTeam SDK 10.4, Build 36
Copyright © 2003-2008 Borland Software Corporation. All rights reserved.