Package org.apache.jackrabbit.vault.util.diff
-
Interface Summary Interface Description ChangeListener Listener that is called for each line in a document.Document.AnnotatedElement The annotated element include the document source.Document.Element Elements form a document.DocumentSource DocumentSource
...ElementsFactory The elements factory provides elements for a document -
Class Summary Class Description DefaultChangeListener Provides a default output for a diff.DefaultDocumentSource Provides a default document sourceDiff A class to compare vectors of objects.Diff.Change The result of the diff.DiffWriter Implements a writer that provides an additional methodDiffWriter.writeNewLine()
that can be used for writing line separators which can be defined.Document A document represents a list of elements and have a source.DocumentDiff The document diff is used to create a diff between 2 documents.DocumentDiff3 Implements a tree-way diff between a base document and 2 dervied ones.FileDocumentSource FileDocumentSource
...Hunk A hunk records a block of diff between the left and the right document.Hunk3 A hunk3 represents a block of a change from the 3-way diff. it can either be a modification on the left side (for whichHunk3.getLeftRange()
is notnull
), or a change on the right side (for whichHunk3.getRightRange()
is notnull
. if the left and the right ranges arenull
this hunk represents an unmodified block of the base document. if both ranges are NOTnull
it represents a conflicting block.InlineChangeListener LineElementsFactory Implements an element factory that creates elements from the lines of an input text.LineElementsFactory.IStringElement An element that is based on a string but ignores the whitespaces in the equals method.LineElementsFactory.StringElement An element that is based on a string todo: create non-annotated varianRange Specifies a range in a documentWordsElementsFactory Implements an element factory that creates the elements out from words of the given input stream.WordsElementsFactory.WordElement