Uses of Class
com.github.difflib.patch.AbstractDelta
-
Packages that use AbstractDelta Package Description com.github.difflib com.github.difflib.patch com.github.difflib.text com.github.difflib.unifieddiff This is the new implementation of UnifiedDiff Tools. -
-
Uses of AbstractDelta in com.github.difflib
Methods in com.github.difflib with parameters of type AbstractDelta Modifier and Type Method Description private static java.util.List<java.lang.String>
UnifiedDiffUtils. getDeltaText(AbstractDelta<java.lang.String> delta)
getDeltaText returns the lines to be added to the Unified Diff text from the Delta parameter. -
Uses of AbstractDelta in com.github.difflib.patch
Subclasses of AbstractDelta in com.github.difflib.patch Modifier and Type Class Description class
ChangeDelta<T>
Describes the change-delta between original and revised texts.class
DeleteDelta<T>
Describes the delete-delta between original and revised texts.class
EqualDelta<T>
This delta contains equal lines of data.class
InsertDelta<T>
Describes the add-delta between original and revised texts.Fields in com.github.difflib.patch with type parameters of type AbstractDelta Modifier and Type Field Description private java.util.List<AbstractDelta<T>>
Patch. deltas
Methods in com.github.difflib.patch that return AbstractDelta Modifier and Type Method Description abstract AbstractDelta<T>
AbstractDelta. withChunks(Chunk<T> original, Chunk<T> revised)
Create a new delta of the actual instance with customized chunk data.AbstractDelta<T>
ChangeDelta. withChunks(Chunk<T> original, Chunk<T> revised)
AbstractDelta<T>
DeleteDelta. withChunks(Chunk<T> original, Chunk<T> revised)
AbstractDelta<T>
EqualDelta. withChunks(Chunk<T> original, Chunk<T> revised)
AbstractDelta<T>
InsertDelta. withChunks(Chunk<T> original, Chunk<T> revised)
Methods in com.github.difflib.patch that return types with arguments of type AbstractDelta Modifier and Type Method Description java.util.List<AbstractDelta<T>>
Patch. getDeltas()
Get the list of computed deltasMethods in com.github.difflib.patch with parameters of type AbstractDelta Modifier and Type Method Description void
Patch. addDelta(AbstractDelta<T> delta)
Add the given delta to this patchvoid
ConflictOutput. processConflict(VerifyChunk verifyChunk, AbstractDelta<T> delta, java.util.List<T> result)
-
Uses of AbstractDelta in com.github.difflib.text
Methods in com.github.difflib.text that return types with arguments of type AbstractDelta Modifier and Type Method Description private java.util.List<AbstractDelta<java.lang.String>>
DiffRowGenerator. decompressDeltas(AbstractDelta<java.lang.String> delta)
Decompresses ChangeDeltas with different source and target size to a ChangeDelta with same size and a following InsertDelta or DeleteDelta.Methods in com.github.difflib.text with parameters of type AbstractDelta Modifier and Type Method Description private java.util.List<AbstractDelta<java.lang.String>>
DiffRowGenerator. decompressDeltas(AbstractDelta<java.lang.String> delta)
Decompresses ChangeDeltas with different source and target size to a ChangeDelta with same size and a following InsertDelta or DeleteDelta.private java.util.List<DiffRow>
DiffRowGenerator. generateInlineDiffs(AbstractDelta<java.lang.String> delta)
Add the inline diffs for given deltaprivate int
DiffRowGenerator. transformDeltaIntoDiffRow(java.util.List<java.lang.String> original, int endPos, java.util.List<DiffRow> diffRows, AbstractDelta<java.lang.String> delta)
Transforms one patch delta into a DiffRow object. -
Uses of AbstractDelta in com.github.difflib.unifieddiff
Methods in com.github.difflib.unifieddiff with parameters of type AbstractDelta Modifier and Type Method Description private static void
UnifiedDiffWriter. getDeltaText(java.util.function.Consumer<java.lang.String> writer, AbstractDelta<java.lang.String> delta)
getDeltaText returns the lines to be added to the Unified Diff text from the Delta parameter.
-