Index

A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractDelta<T> - Class in com.github.difflib.patch
Abstract delta between a source and a target.
AbstractDelta(DeltaType, Chunk<T>, Chunk<T>) - Constructor for class com.github.difflib.patch.AbstractDelta
 
actualFile - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
addDelta(AbstractDelta<T>) - Method in class com.github.difflib.patch.Patch
Add the given delta to this patch
addFile(UnifiedDiffFile) - Method in class com.github.difflib.unifieddiff.UnifiedDiff
 
addLineIdx - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
addLineIdxList - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
adjustWhitespace(String) - Static method in class com.github.difflib.text.DiffRowGenerator
 
afterOutRange - Variable in class com.github.difflib.patch.Patch.PatchApplyingContext
 
applyFuzzy(List<T>, int) - Method in class com.github.difflib.patch.Patch
 
applyFuzzyToAt(List<T>, int, int) - Method in class com.github.difflib.patch.AbstractDelta
Apply patch fuzzy.
applyFuzzyToAt(List<T>, int, int) - Method in class com.github.difflib.patch.ChangeDelta
 
applyFuzzyToAt(List<T>, int, int) - Method in class com.github.difflib.patch.EqualDelta
Apply patch fuzzy.
applyPatchTo(Predicate<String>, List<String>) - Method in class com.github.difflib.unifieddiff.UnifiedDiff
 
applyTo(List<T>) - Method in class com.github.difflib.patch.AbstractDelta
 
applyTo(List<T>) - Method in class com.github.difflib.patch.ChangeDelta
 
applyTo(List<T>) - Method in class com.github.difflib.patch.DeleteDelta
 
applyTo(List<T>) - Method in class com.github.difflib.patch.EqualDelta
 
applyTo(List<T>) - Method in class com.github.difflib.patch.InsertDelta
 
applyTo(List<T>) - Method in class com.github.difflib.patch.Patch
Apply this patch to the given target

B

beforeOutRange - Variable in class com.github.difflib.patch.Patch.PatchApplyingContext
 
bootstrap - Variable in class com.github.difflib.algorithm.myers.PathNode
 
build() - Method in class com.github.difflib.text.DiffRowGenerator.Builder
Build the DiffRowGenerator.
buildChunk(int, int, List<T>) - Static method in class com.github.difflib.patch.Patch
 
buildDiffRow(DiffRow.Tag, String, String) - Method in class com.github.difflib.text.DiffRowGenerator
 
buildDiffRowWithoutNormalizing(DiffRow.Tag, String, String) - Method in class com.github.difflib.text.DiffRowGenerator
 
Builder() - Constructor for class com.github.difflib.text.DiffRowGenerator.Builder
 
buildPath(List<T>, List<T>, DiffAlgorithmListener) - Method in class com.github.difflib.algorithm.myers.MeyersDiff
Computes the minimum diffpath that expresses de differences between the original and revised sequences, according to Gene Myers differencing algorithm.
buildRevision(PathNode, List<T>, List<T>) - Method in class com.github.difflib.algorithm.myers.MeyersDiff
Constructs a Patch from a difference path.
buildScript(MeyersDiffWithLinearSpace.DiffData, int, int, int, int, Consumer<Integer>) - Method in class com.github.difflib.algorithm.myers.MeyersDiffWithLinearSpace
 
buildSnake(MeyersDiffWithLinearSpace.DiffData, int, int, int, int) - Method in class com.github.difflib.algorithm.myers.MeyersDiffWithLinearSpace
 

C

Change - Class in com.github.difflib.algorithm
 
Change(DeltaType, int, int, int, int) - Constructor for class com.github.difflib.algorithm.Change
 
CHANGE - Enum constant in enum com.github.difflib.patch.DeltaType
A change in the original.
CHANGE - Enum constant in enum com.github.difflib.text.DiffRow.Tag
 
ChangeDelta<T> - Class in com.github.difflib.patch
Describes the change-delta between original and revised texts.
ChangeDelta(Chunk<T>, Chunk<T>) - Constructor for class com.github.difflib.patch.ChangeDelta
Creates a change delta with the two given chunks.
changePosition - Variable in class com.github.difflib.patch.Chunk
 
checkForNoNewLineAtTheEndOfTheFile(String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
Chunk<T> - Class in com.github.difflib.patch
Holds the information about the part of text involved in the diff process
Chunk(int, List<T>) - Constructor for class com.github.difflib.patch.Chunk
Creates a chunk and saves a copy of affected lines
Chunk(int, List<T>, List<Integer>) - Constructor for class com.github.difflib.patch.Chunk
Creates a chunk and saves a copy of affected lines
Chunk(int, T[]) - Constructor for class com.github.difflib.patch.Chunk
Creates a chunk and saves a copy of affected lines
Chunk(int, T[], List<Integer>) - Constructor for class com.github.difflib.patch.Chunk
Creates a chunk and saves a copy of affected lines
CHUNK - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
columnWidth - Variable in class com.github.difflib.text.DiffRowGenerator.Builder
 
columnWidth - Variable in class com.github.difflib.text.DiffRowGenerator
 
columnWidth(int) - Method in class com.github.difflib.text.DiffRowGenerator.Builder
Set the column width of generated lines of original and revised texts.
com.github.difflib - package com.github.difflib
 
com.github.difflib.algorithm - package com.github.difflib.algorithm
 
com.github.difflib.algorithm.jgit - package com.github.difflib.algorithm.jgit
 
com.github.difflib.algorithm.myers - package com.github.difflib.algorithm.myers
 
com.github.difflib.patch - package com.github.difflib.patch
 
com.github.difflib.text - package com.github.difflib.text
 
com.github.difflib.unifieddiff - package com.github.difflib.unifieddiff
This is the new implementation of UnifiedDiff Tools.
command - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader.UnifiedDiffLine
 
compressLines(List<String>, String) - Static method in class com.github.difflib.DiffUtils
 
computeDiff(List<T>, List<T>, DiffAlgorithmListener) - Method in interface com.github.difflib.algorithm.DiffAlgorithmI
Computes the changeset to patch the source list to the target list.
computeDiff(List<T>, List<T>, DiffAlgorithmListener) - Method in class com.github.difflib.algorithm.jgit.HistogramDiff
 
computeDiff(List<T>, List<T>, DiffAlgorithmListener) - Method in class com.github.difflib.algorithm.myers.MeyersDiff
Computes the changeset to patch the source list to the target list.
computeDiff(List<T>, List<T>, DiffAlgorithmListener) - Method in class com.github.difflib.algorithm.myers.MeyersDiffWithLinearSpace
 
computeDiff(T[], T[], DiffAlgorithmListener) - Method in interface com.github.difflib.algorithm.DiffAlgorithmI
Simple extension to compute a changeset using arrays.
CONFLICT_PRODUCES_EXCEPTION - Variable in class com.github.difflib.patch.Patch
Standard Patch behaviour to throw an exception for pathching conflicts.
CONFLICT_PRODUCES_MERGE_CONFLICT - Static variable in class com.github.difflib.patch.Patch
Git like merge conflict output.
conflictOutput - Variable in class com.github.difflib.patch.Patch
 
ConflictOutput<T> - Interface in com.github.difflib.patch
 
CONTENT_DOES_NOT_MATCH_TARGET - Enum constant in enum com.github.difflib.patch.VerifyChunk
 
create() - Method in interface com.github.difflib.algorithm.DiffAlgorithmFactory
 
create() - Static method in class com.github.difflib.text.DiffRowGenerator
 
create(BiPredicate<T, T>) - Method in interface com.github.difflib.algorithm.DiffAlgorithmFactory
 
currentFuzz - Variable in class com.github.difflib.patch.Patch.PatchApplyingContext
 

D

data - Variable in class com.github.difflib.algorithm.jgit.DataList
 
data - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
DataList<T> - Class in com.github.difflib.algorithm.jgit
 
DataList(List<T>) - Constructor for class com.github.difflib.algorithm.jgit.DataList
 
DataListComparator<T> - Class in com.github.difflib.algorithm.jgit
 
DataListComparator(DiffAlgorithmListener) - Constructor for class com.github.difflib.algorithm.jgit.DataListComparator
 
decompressDeltas - Variable in class com.github.difflib.text.DiffRowGenerator.Builder
 
decompressDeltas - Variable in class com.github.difflib.text.DiffRowGenerator
 
decompressDeltas(boolean) - Method in class com.github.difflib.text.DiffRowGenerator.Builder
Deltas could be in a state, that would produce some unreasonable results within an inline diff.
decompressDeltas(AbstractDelta<String>) - Method in class com.github.difflib.text.DiffRowGenerator
Decompresses ChangeDeltas with different source and target size to a ChangeDelta with same size and a following InsertDelta or DeleteDelta.
DEFAULT_DIFF - Static variable in class com.github.difflib.DiffUtils
This factory generates the DEFAULT_DIFF algorithm for all these routines.
DEFAULT_EQUALIZER - Static variable in class com.github.difflib.text.DiffRowGenerator
 
defaultPosition - Variable in class com.github.difflib.patch.Patch.PatchApplyingContext
 
DELETE - Enum constant in enum com.github.difflib.patch.DeltaType
A delete from the original.
DELETE - Enum constant in enum com.github.difflib.text.DiffRow.Tag
 
DELETED_FILE_MODE - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
DeleteDelta<T> - Class in com.github.difflib.patch
Describes the delete-delta between original and revised texts.
DeleteDelta(Chunk<T>, Chunk<T>) - Constructor for class com.github.difflib.patch.DeleteDelta
Creates a change delta with the two given chunks.
deletedFileMode - Variable in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
delLineIdx - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
delLineIdxList - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
deltas - Variable in class com.github.difflib.patch.Patch
 
deltaType - Variable in class com.github.difflib.algorithm.Change
 
DeltaType - Enum in com.github.difflib.patch
Specifies the type of the delta.
DeltaType() - Constructor for enum com.github.difflib.patch.DeltaType
 
diag - Variable in class com.github.difflib.algorithm.myers.MeyersDiffWithLinearSpace.Snake
 
diff(String, String, DiffAlgorithmListener) - Static method in class com.github.difflib.DiffUtils
Computes the difference between the original and revised text.
diff(List<T>, List<T>) - Static method in class com.github.difflib.DiffUtils
 
diff(List<T>, List<T>, boolean) - Static method in class com.github.difflib.DiffUtils
 
diff(List<T>, List<T>, DiffAlgorithmI<T>) - Static method in class com.github.difflib.DiffUtils
Computes the difference between the original and revised list of elements with default diff algorithm
diff(List<T>, List<T>, DiffAlgorithmI<T>, DiffAlgorithmListener) - Static method in class com.github.difflib.DiffUtils
 
diff(List<T>, List<T>, DiffAlgorithmI<T>, DiffAlgorithmListener, boolean) - Static method in class com.github.difflib.DiffUtils
Computes the difference between the original and revised list of elements with default diff algorithm
diff(List<T>, List<T>, DiffAlgorithmListener) - Static method in class com.github.difflib.DiffUtils
Computes the difference between the original and revised list of elements with default diff algorithm
diff(List<T>, List<T>, BiPredicate<T, T>) - Static method in class com.github.difflib.DiffUtils
Computes the difference between the original and revised list of elements with default diff algorithm
DIFF_COMMAND - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
DiffAlgorithmFactory - Interface in com.github.difflib.algorithm
Tool to create new instances of a diff algorithm.
DiffAlgorithmI<T> - Interface in com.github.difflib.algorithm
Interface of a diff algorithm.
DiffAlgorithmListener - Interface in com.github.difflib.algorithm
 
diffCommand - Variable in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
DiffData(List<T>, List<T>) - Constructor for class com.github.difflib.algorithm.myers.MeyersDiffWithLinearSpace.DiffData
 
diffEnd() - Method in interface com.github.difflib.algorithm.DiffAlgorithmListener
 
DiffException - Exception in com.github.difflib.patch
Base class for all exceptions emanating from this package.
DiffException() - Constructor for exception com.github.difflib.patch.DiffException
 
DiffException(String) - Constructor for exception com.github.difflib.patch.DiffException
 
diffInline(String, String) - Static method in class com.github.difflib.DiffUtils
Computes the difference between the given texts inline.
DiffRow - Class in com.github.difflib.text
Describes the diff row in form [tag, oldLine, newLine) for showing the difference between two texts
DiffRow(DiffRow.Tag, String, String) - Constructor for class com.github.difflib.text.DiffRow
 
DiffRow.Tag - Enum in com.github.difflib.text
 
DiffRowGenerator - Class in com.github.difflib.text
This class for generating DiffRows for side-by-sidy view.
DiffRowGenerator(DiffRowGenerator.Builder) - Constructor for class com.github.difflib.text.DiffRowGenerator
 
DiffRowGenerator.Builder - Class in com.github.difflib.text
This class used for building the DiffRowGenerator.
diffStart() - Method in interface com.github.difflib.algorithm.DiffAlgorithmListener
 
diffStep(int, int) - Method in interface com.github.difflib.algorithm.DiffAlgorithmListener
This is a step within the diff algorithm.
DiffUtils - Class in com.github.difflib
Implements the difference and patching engine
DiffUtils() - Constructor for class com.github.difflib.DiffUtils
 

E

end - Variable in class com.github.difflib.algorithm.myers.MeyersDiffWithLinearSpace.Snake
 
endOriginal - Variable in class com.github.difflib.algorithm.Change
 
endRevised - Variable in class com.github.difflib.algorithm.Change
 
EQUAL - Enum constant in enum com.github.difflib.patch.DeltaType
An do nothing.
EQUAL - Enum constant in enum com.github.difflib.text.DiffRow.Tag
 
EqualDelta<T> - Class in com.github.difflib.patch
This delta contains equal lines of data.
EqualDelta(Chunk<T>, Chunk<T>) - Constructor for class com.github.difflib.patch.EqualDelta
 
equalizer - Variable in class com.github.difflib.algorithm.myers.MeyersDiff
 
equalizer - Variable in class com.github.difflib.algorithm.myers.MeyersDiffWithLinearSpace
 
equalizer - Variable in class com.github.difflib.text.DiffRowGenerator.Builder
 
equalizer - Variable in class com.github.difflib.text.DiffRowGenerator
 
equalizer(BiPredicate<String, String>) - Method in class com.github.difflib.text.DiffRowGenerator.Builder
Provide an equalizer for diff processing.
equals(DataList<T>, int, DataList<T>, int) - Method in class com.github.difflib.algorithm.jgit.DataListComparator
 
equals(Object) - Method in class com.github.difflib.patch.AbstractDelta
 
equals(Object) - Method in class com.github.difflib.patch.Chunk
 
equals(Object) - Method in class com.github.difflib.text.DiffRow
 
extractFileName(String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
extractTimestamp(String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffReader
 

F

factory() - Static method in class com.github.difflib.algorithm.myers.MeyersDiff
Factory to create instances of this specific diff algorithm.
factory() - Static method in class com.github.difflib.algorithm.myers.MeyersDiffWithLinearSpace
Factory to create instances of this specific diff algorithm.
files - Variable in class com.github.difflib.unifieddiff.UnifiedDiff
 
finalizeChunk() - Method in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
findPositionFuzzy(Patch.PatchApplyingContext<T>, AbstractDelta<T>) - Method in class com.github.difflib.patch.Patch
 
findPositionWithFuzz(Patch.PatchApplyingContext<T>, AbstractDelta<T>, int) - Method in class com.github.difflib.patch.Patch
 
findPositionWithFuzzAndMoreDelta(Patch.PatchApplyingContext<T>, AbstractDelta<T>, int, int) - Method in class com.github.difflib.patch.Patch
 
from(String, String, Patch<String>) - Static method in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
from(String, String, UnifiedDiffFile...) - Static method in class com.github.difflib.unifieddiff.UnifiedDiff
 
FROM_FILE - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
fromFile - Variable in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
fromTimestamp - Variable in class com.github.difflib.unifieddiff.UnifiedDiffFile
 

G

generate(List<T>, List<T>, List<Change>) - Static method in class com.github.difflib.patch.Patch
 
generate(List<T>, List<T>, List<Change>, boolean) - Static method in class com.github.difflib.patch.Patch
 
generateDiffRows(List<String>, Patch<String>) - Method in class com.github.difflib.text.DiffRowGenerator
Generates the DiffRows describing the difference between original and revised texts using the given patch.
generateDiffRows(List<String>, List<String>) - Method in class com.github.difflib.text.DiffRowGenerator
Get the DiffRows describing the difference between original and revised texts using the given patch.
generateInlineDiffs(AbstractDelta<String>) - Method in class com.github.difflib.text.DiffRowGenerator
Add the inline diffs for given delta
generateUnifiedDiff(String, String, List<String>, Patch<String>, int) - Static method in class com.github.difflib.UnifiedDiffUtils
generateUnifiedDiff takes a Patch and some other arguments, returning the Unified Diff format text representing the Patch.
getChangePosition() - Method in class com.github.difflib.patch.Chunk
 
getDeletedFileMode() - Method in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
getDeltas() - Method in class com.github.difflib.patch.Patch
Get the list of computed deltas
getDeltaText(AbstractDelta<String>) - Static method in class com.github.difflib.UnifiedDiffUtils
getDeltaText returns the lines to be added to the Unified Diff text from the Delta parameter.
getDeltaText(Consumer<String>, AbstractDelta<String>) - Static method in class com.github.difflib.unifieddiff.UnifiedDiffWriter
getDeltaText returns the lines to be added to the Unified Diff text from the Delta parameter.
getDiffCommand() - Method in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
getFiles() - Method in class com.github.difflib.unifieddiff.UnifiedDiff
 
getFromFile() - Method in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
getFromTimestamp() - Method in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
getHeader() - Method in class com.github.difflib.unifieddiff.UnifiedDiff
 
getIndex() - Method in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
getLines() - Method in class com.github.difflib.patch.Chunk
 
getMiddleSnake(MeyersDiffWithLinearSpace.DiffData, int, int, int, int) - Method in class com.github.difflib.algorithm.myers.MeyersDiffWithLinearSpace
 
getNewFileMode() - Method in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
getNewLine() - Method in class com.github.difflib.text.DiffRow
 
getOldLine() - Method in class com.github.difflib.text.DiffRow
 
getPatch() - Method in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
getPosition() - Method in class com.github.difflib.patch.Chunk
 
getRenameFrom() - Method in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
getRenameTo() - Method in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
getSimilarityIndex() - Method in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
getSource() - Method in class com.github.difflib.patch.AbstractDelta
 
getTag() - Method in class com.github.difflib.text.DiffRow
 
getTail() - Method in class com.github.difflib.unifieddiff.UnifiedDiff
 
getTarget() - Method in class com.github.difflib.patch.AbstractDelta
 
getToFile() - Method in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
getToTimestamp() - Method in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
getType() - Method in class com.github.difflib.patch.AbstractDelta
 

H

hash(DataList<T>, int) - Method in class com.github.difflib.algorithm.jgit.DataListComparator
 
hashCode() - Method in class com.github.difflib.patch.AbstractDelta
 
hashCode() - Method in class com.github.difflib.patch.Chunk
 
hashCode() - Method in class com.github.difflib.text.DiffRow
 
header - Variable in class com.github.difflib.unifieddiff.UnifiedDiff
 
HistogramDiff<T> - Class in com.github.difflib.algorithm.jgit
HistorgramDiff using JGit - Library.
HistogramDiff() - Constructor for class com.github.difflib.algorithm.jgit.HistogramDiff
 
htmlEntites(String) - Static method in class com.github.difflib.text.StringUtils
Replaces all opening and closing tags with < or >.

I

i - Variable in class com.github.difflib.algorithm.myers.PathNode
Position in the original sequence.
IGNORE_WHITESPACE_EQUALIZER - Static variable in class com.github.difflib.text.DiffRowGenerator
 
ignoreWhiteSpaces - Variable in class com.github.difflib.text.DiffRowGenerator.Builder
 
ignoreWhiteSpaces - Variable in class com.github.difflib.text.DiffRowGenerator
 
ignoreWhiteSpaces(boolean) - Method in class com.github.difflib.text.DiffRowGenerator.Builder
Ignore white spaces in generating diff rows or not.
index - Variable in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
INDEX - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
initFileIfNecessary() - Method in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
inlineDiffBySplitter(Function<String, List<String>>) - Method in class com.github.difflib.text.DiffRowGenerator.Builder
To provide some customized splitting a splitter can be provided.
inlineDiffByWord(boolean) - Method in class com.github.difflib.text.DiffRowGenerator.Builder
Per default each character is separatly processed.
inlineDiffSplitter - Variable in class com.github.difflib.text.DiffRowGenerator.Builder
 
inlineDiffSplitter - Variable in class com.github.difflib.text.DiffRowGenerator
 
INSERT - Enum constant in enum com.github.difflib.patch.DeltaType
An insert into the original.
INSERT - Enum constant in enum com.github.difflib.text.DiffRow.Tag
 
InsertDelta<T> - Class in com.github.difflib.patch
Describes the add-delta between original and revised texts.
InsertDelta(Chunk<T>, Chunk<T>) - Constructor for class com.github.difflib.patch.InsertDelta
Creates an insert delta with the two given chunks.
InternalUnifiedDiffReader - Class in com.github.difflib.unifieddiff
 
InternalUnifiedDiffReader(Reader) - Constructor for class com.github.difflib.unifieddiff.InternalUnifiedDiffReader
 
isBootstrap() - Method in class com.github.difflib.algorithm.myers.PathNode
Is this a bootstrap node?
isNoNewLineAtTheEndOfTheFile() - Method in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
isSnake() - Method in class com.github.difflib.algorithm.myers.PathNode
 
isStopsHeaderParsing() - Method in class com.github.difflib.unifieddiff.UnifiedDiffReader.UnifiedDiffLine
 

J

j - Variable in class com.github.difflib.algorithm.myers.PathNode
Position in the revised sequence.

L

last() - Method in class com.github.difflib.patch.Chunk
Returns the index of the last line of the chunk.
lastLine - Variable in class com.github.difflib.unifieddiff.InternalUnifiedDiffReader
 
lastLine() - Method in class com.github.difflib.unifieddiff.InternalUnifiedDiffReader
 
lastPatchEnd - Variable in class com.github.difflib.patch.Patch.PatchApplyingContext
 
LINE_ADD - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
LINE_DEL - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
LINE_NORMAL - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
LINE_NORMALIZER_FOR_HTML - Static variable in class com.github.difflib.text.DiffRowGenerator
 
lineNormalizer - Variable in class com.github.difflib.text.DiffRowGenerator.Builder
 
lineNormalizer - Variable in class com.github.difflib.text.DiffRowGenerator
 
lineNormalizer(Function<String, String>) - Method in class com.github.difflib.text.DiffRowGenerator.Builder
By default DiffRowGenerator preprocesses lines for HTML output.
lines - Variable in class com.github.difflib.patch.Chunk
 
LOG - Static variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
LOG - Static variable in class com.github.difflib.unifieddiff.UnifiedDiffWriter
 

M

maxFuzz - Variable in class com.github.difflib.patch.Patch.PatchApplyingContext
 
mergeOriginalRevised - Variable in class com.github.difflib.text.DiffRowGenerator.Builder
 
mergeOriginalRevised - Variable in class com.github.difflib.text.DiffRowGenerator
 
mergeOriginalRevised(boolean) - Method in class com.github.difflib.text.DiffRowGenerator.Builder
Merge the complete result within the original text.
MeyersDiff<T> - Class in com.github.difflib.algorithm.myers
A clean-room implementation of Eugene Meyers greedy differencing algorithm.
MeyersDiff() - Constructor for class com.github.difflib.algorithm.myers.MeyersDiff
 
MeyersDiff(BiPredicate<T, T>) - Constructor for class com.github.difflib.algorithm.myers.MeyersDiff
 
MeyersDiffWithLinearSpace<T> - Class in com.github.difflib.algorithm.myers
 
MeyersDiffWithLinearSpace() - Constructor for class com.github.difflib.algorithm.myers.MeyersDiffWithLinearSpace
 
MeyersDiffWithLinearSpace(BiPredicate<T, T>) - Constructor for class com.github.difflib.algorithm.myers.MeyersDiffWithLinearSpace
 
MeyersDiffWithLinearSpace.DiffData - Class in com.github.difflib.algorithm.myers
 
MeyersDiffWithLinearSpace.Snake - Class in com.github.difflib.algorithm.myers
 

N

NEW_FILE_MODE - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
new_ln - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
new_size - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
newFileMode - Variable in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
newLine - Variable in class com.github.difflib.text.DiffRow
 
newTag - Variable in class com.github.difflib.text.DiffRowGenerator.Builder
 
newTag - Variable in class com.github.difflib.text.DiffRowGenerator
 
newTag(BiFunction<DiffRow.Tag, Boolean, String>) - Method in class com.github.difflib.text.DiffRowGenerator.Builder
Generator for New-Text-Tags.
newTag(Function<Boolean, String>) - Method in class com.github.difflib.text.DiffRowGenerator.Builder
Generator for New-Text-Tags.
noNewLineAtTheEndOfTheFile - Variable in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
normalize(String) - Static method in class com.github.difflib.text.StringUtils
 
normalizeLines(List<String>) - Method in class com.github.difflib.text.DiffRowGenerator
 
NULL_FILE_INDICATOR - Static variable in class com.github.difflib.UnifiedDiffUtils
 

O

OK - Enum constant in enum com.github.difflib.patch.VerifyChunk
 
old_ln - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
old_size - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
oldLine - Variable in class com.github.difflib.text.DiffRow
 
oldTag - Variable in class com.github.difflib.text.DiffRowGenerator.Builder
 
oldTag - Variable in class com.github.difflib.text.DiffRowGenerator
 
oldTag(BiFunction<DiffRow.Tag, Boolean, String>) - Method in class com.github.difflib.text.DiffRowGenerator.Builder
Generator for Old-Text-Tags.
oldTag(Function<Boolean, String>) - Method in class com.github.difflib.text.DiffRowGenerator.Builder
Generator for Old-Text-Tags.
originalTxt - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 

P

parse() - Method in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
parseFileNames(String) - Static method in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
parseUnifiedDiff(InputStream) - Static method in class com.github.difflib.unifieddiff.UnifiedDiffReader
To parse a diff file use this method.
parseUnifiedDiff(List<String>) - Static method in class com.github.difflib.UnifiedDiffUtils
Parse the given text in unified format and creates the list of deltas for it.
patch - Variable in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
patch(List<T>, Patch<T>) - Static method in class com.github.difflib.DiffUtils
Patch the original text with given patch
Patch<T> - Class in com.github.difflib.patch
Describes the patch holding all deltas between the original and revised texts.
Patch() - Constructor for class com.github.difflib.patch.Patch
 
Patch(int) - Constructor for class com.github.difflib.patch.Patch
 
Patch.PatchApplyingContext<T> - Class in com.github.difflib.patch
 
PatchApplyingContext(List<T>, int) - Constructor for class com.github.difflib.patch.Patch.PatchApplyingContext
 
PatchFailedException - Exception in com.github.difflib.patch
Thrown whenever a delta cannot be applied as a patch to a given text.
PatchFailedException() - Constructor for exception com.github.difflib.patch.PatchFailedException
 
PatchFailedException(String) - Constructor for exception com.github.difflib.patch.PatchFailedException
 
PathNode - Class in com.github.difflib.algorithm.myers
A node in a diffpath.
PathNode(int, int, boolean, boolean, PathNode) - Constructor for class com.github.difflib.algorithm.myers.PathNode
Concatenates a new path node with an existing diffpath.
pattern - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader.UnifiedDiffLine
 
position - Variable in class com.github.difflib.patch.Chunk
 
POSITION_OUT_OF_TARGET - Enum constant in enum com.github.difflib.patch.VerifyChunk
 
preprocessLine(String) - Method in class com.github.difflib.text.DiffRowGenerator
 
prev - Variable in class com.github.difflib.algorithm.myers.PathNode
The previous node in the path.
previousSnake() - Method in class com.github.difflib.algorithm.myers.PathNode
Skips sequences of PathNodes until a snake or bootstrap node is found, or the end of the path is reached.
processAddLine(MatchResult, String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
processChunk(MatchResult, String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
processConflict(VerifyChunk, AbstractDelta<T>, List<T>) - Method in interface com.github.difflib.patch.ConflictOutput
 
processDeletedFileMode(MatchResult, String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
processDelLine(MatchResult, String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
processDeltas(Consumer<String>, List<String>, List<AbstractDelta<String>>, int, boolean) - Static method in class com.github.difflib.unifieddiff.UnifiedDiffWriter
 
processDeltas(List<String>, List<AbstractDelta<String>>, int, boolean) - Static method in class com.github.difflib.UnifiedDiffUtils
processDeltas takes a list of Deltas and outputs them together in a single block of Unified-Diff-format text.
processDiff(MatchResult, String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
processDiffs - Variable in class com.github.difflib.text.DiffRowGenerator.Builder
 
processDiffs - Variable in class com.github.difflib.text.DiffRowGenerator
 
processDiffs(Function<String, String>) - Method in class com.github.difflib.text.DiffRowGenerator.Builder
Processor for diffed text parts.
processFromFile(MatchResult, String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
processIndex(MatchResult, String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
processLine(String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffReader.UnifiedDiffLine
 
processLine(String, UnifiedDiffReader.UnifiedDiffLine...) - Method in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
processLinesInPrevChunk(List<String[]>, Patch<String>, int, int) - Static method in class com.github.difflib.UnifiedDiffUtils
 
processNewFileMode(MatchResult, String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
processNormalLine(MatchResult, String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
processRenameFrom(MatchResult, String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
processRenameTo(MatchResult, String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
processSimilarityIndex(MatchResult, String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
processToFile(MatchResult, String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
progress - Variable in class com.github.difflib.algorithm.jgit.DataListComparator
 

R

READER - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
readLine() - Method in class com.github.difflib.unifieddiff.InternalUnifiedDiffReader
 
RENAME_FROM - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
RENAME_TO - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
renameFrom - Variable in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
renameTo - Variable in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
replaceOriginalLinefeedInChangesWithSpaces - Variable in class com.github.difflib.text.DiffRowGenerator.Builder
 
replaceOriginalLinefeedInChangesWithSpaces - Variable in class com.github.difflib.text.DiffRowGenerator
 
replaceOriginalLinefeedInChangesWithSpaces(boolean) - Method in class com.github.difflib.text.DiffRowGenerator.Builder
Sometimes it happens that a change contains multiple lines.
reportLinesUnchanged - Variable in class com.github.difflib.text.DiffRowGenerator.Builder
 
reportLinesUnchanged - Variable in class com.github.difflib.text.DiffRowGenerator
 
reportLinesUnchanged(boolean) - Method in class com.github.difflib.text.DiffRowGenerator.Builder
Give the originial old and new text lines to Diffrow without any additional processing and without any tags to highlight the change.
restore(List<T>) - Method in class com.github.difflib.patch.AbstractDelta
 
restore(List<T>) - Method in class com.github.difflib.patch.ChangeDelta
 
restore(List<T>) - Method in class com.github.difflib.patch.DeleteDelta
 
restore(List<T>) - Method in class com.github.difflib.patch.EqualDelta
 
restore(List<T>) - Method in class com.github.difflib.patch.InsertDelta
 
restore(List<T>) - Method in class com.github.difflib.patch.Patch
Restore the text to original.
result - Variable in class com.github.difflib.patch.Patch.PatchApplyingContext
 
revisedTxt - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 

S

script - Variable in class com.github.difflib.algorithm.myers.MeyersDiffWithLinearSpace.DiffData
 
serialVersionUID - Static variable in exception com.github.difflib.patch.DiffException
 
serialVersionUID - Static variable in exception com.github.difflib.patch.PatchFailedException
 
setDeletedFileMode(String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
setDiffCommand(String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
setFromFile(String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
setFromTimestamp(String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
setHeader(String) - Method in class com.github.difflib.unifieddiff.UnifiedDiff
 
setIndex(String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
setLines(List<T>) - Method in class com.github.difflib.patch.Chunk
 
setNewFileMode(String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
setNoNewLineAtTheEndOfTheFile(boolean) - Method in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
setRenameFrom(String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
setRenameTo(String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
setSimilarityIndex(Integer) - Method in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
setTag(DiffRow.Tag) - Method in class com.github.difflib.text.DiffRow
 
setTailTxt(String) - Method in class com.github.difflib.unifieddiff.UnifiedDiff
 
setToFile(String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
setToTimestamp(String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
showInlineDiffs - Variable in class com.github.difflib.text.DiffRowGenerator.Builder
 
showInlineDiffs - Variable in class com.github.difflib.text.DiffRowGenerator
 
showInlineDiffs(boolean) - Method in class com.github.difflib.text.DiffRowGenerator.Builder
Show inline diffs in generating diff rows or not.
SIMILARITY_INDEX - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
similarityIndex - Variable in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
size - Variable in class com.github.difflib.algorithm.myers.MeyersDiffWithLinearSpace.DiffData
 
size() - Method in class com.github.difflib.algorithm.jgit.DataList
 
size() - Method in class com.github.difflib.patch.Chunk
 
snake - Variable in class com.github.difflib.algorithm.myers.PathNode
 
Snake(int, int, int) - Constructor for class com.github.difflib.algorithm.myers.MeyersDiffWithLinearSpace.Snake
 
source - Variable in class com.github.difflib.algorithm.myers.MeyersDiffWithLinearSpace.DiffData
 
source - Variable in class com.github.difflib.patch.AbstractDelta
 
SPLIT_BY_WORD_PATTERN - Static variable in class com.github.difflib.text.DiffRowGenerator
 
splitStringPreserveDelimiter(String, Pattern) - Static method in class com.github.difflib.text.DiffRowGenerator
 
SPLITTER_BY_CHARACTER - Static variable in class com.github.difflib.text.DiffRowGenerator
Splitting lines by character to achieve char by char diff checking.
SPLITTER_BY_WORD - Static variable in class com.github.difflib.text.DiffRowGenerator
Splitting lines by word to achieve word by word diff checking.
start - Variable in class com.github.difflib.algorithm.myers.MeyersDiffWithLinearSpace.Snake
 
startOriginal - Variable in class com.github.difflib.algorithm.Change
 
startRevised - Variable in class com.github.difflib.algorithm.Change
 
stopsHeaderParsing - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader.UnifiedDiffLine
 
StringUtils - Class in com.github.difflib.text
 
StringUtils() - Constructor for class com.github.difflib.text.StringUtils
 

T

tag - Variable in class com.github.difflib.text.DiffRow
 
Tag() - Constructor for enum com.github.difflib.text.DiffRow.Tag
 
tail - Variable in class com.github.difflib.unifieddiff.UnifiedDiff
 
target - Variable in class com.github.difflib.algorithm.myers.MeyersDiffWithLinearSpace.DiffData
 
target - Variable in class com.github.difflib.patch.AbstractDelta
 
TIMESTAMP_REGEXP - Static variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
TO_FILE - Variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
toFile - Variable in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
toInteger(MatchResult, int, int) - Static method in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
toString() - Method in class com.github.difflib.algorithm.myers.PathNode
toString() - Method in class com.github.difflib.patch.ChangeDelta
 
toString() - Method in class com.github.difflib.patch.Chunk
 
toString() - Method in class com.github.difflib.patch.DeleteDelta
 
toString() - Method in class com.github.difflib.patch.EqualDelta
 
toString() - Method in class com.github.difflib.patch.InsertDelta
 
toString() - Method in class com.github.difflib.patch.Patch
 
toString() - Method in class com.github.difflib.text.DiffRow
 
toString() - Method in class com.github.difflib.unifieddiff.UnifiedDiffReader.UnifiedDiffLine
 
toTimestamp - Variable in class com.github.difflib.unifieddiff.UnifiedDiffFile
 
transformDeltaIntoDiffRow(List<String>, int, List<DiffRow>, AbstractDelta<String>) - Method in class com.github.difflib.text.DiffRowGenerator
Transforms one patch delta into a DiffRow object.
type - Variable in class com.github.difflib.patch.AbstractDelta
 

U

UNIFIED_DIFF_CHUNK_REGEXP - Static variable in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
UNIFIED_DIFF_CHUNK_REGEXP - Static variable in class com.github.difflib.UnifiedDiffUtils
 
UnifiedDiff - Class in com.github.difflib.unifieddiff
 
UnifiedDiff() - Constructor for class com.github.difflib.unifieddiff.UnifiedDiff
 
UnifiedDiffFile - Class in com.github.difflib.unifieddiff
Data structure for one patched file from a unified diff file.
UnifiedDiffFile() - Constructor for class com.github.difflib.unifieddiff.UnifiedDiffFile
 
UnifiedDiffLine(boolean, String, BiConsumer<MatchResult, String>) - Constructor for class com.github.difflib.unifieddiff.UnifiedDiffReader.UnifiedDiffLine
 
UnifiedDiffLine(boolean, Pattern, BiConsumer<MatchResult, String>) - Constructor for class com.github.difflib.unifieddiff.UnifiedDiffReader.UnifiedDiffLine
 
UnifiedDiffLine(String, BiConsumer<MatchResult, String>) - Constructor for class com.github.difflib.unifieddiff.UnifiedDiffReader.UnifiedDiffLine
 
UnifiedDiffParserException - Exception in com.github.difflib.unifieddiff
 
UnifiedDiffParserException() - Constructor for exception com.github.difflib.unifieddiff.UnifiedDiffParserException
 
UnifiedDiffParserException(String) - Constructor for exception com.github.difflib.unifieddiff.UnifiedDiffParserException
 
UnifiedDiffParserException(String, Throwable) - Constructor for exception com.github.difflib.unifieddiff.UnifiedDiffParserException
 
UnifiedDiffParserException(String, Throwable, boolean, boolean) - Constructor for exception com.github.difflib.unifieddiff.UnifiedDiffParserException
 
UnifiedDiffParserException(Throwable) - Constructor for exception com.github.difflib.unifieddiff.UnifiedDiffParserException
 
UnifiedDiffReader - Class in com.github.difflib.unifieddiff
 
UnifiedDiffReader(Reader) - Constructor for class com.github.difflib.unifieddiff.UnifiedDiffReader
 
UnifiedDiffReader.UnifiedDiffLine - Class in com.github.difflib.unifieddiff
 
UnifiedDiffUtils - Class in com.github.difflib
 
UnifiedDiffUtils() - Constructor for class com.github.difflib.UnifiedDiffUtils
 
UnifiedDiffWriter - Class in com.github.difflib.unifieddiff
 
UnifiedDiffWriter() - Constructor for class com.github.difflib.unifieddiff.UnifiedDiffWriter
 
unpatch(List<T>, Patch<T>) - Static method in class com.github.difflib.DiffUtils
Unpatch the revised text for a given patch

V

validLine(String) - Method in class com.github.difflib.unifieddiff.UnifiedDiffReader.UnifiedDiffLine
 
validLine(String, UnifiedDiffReader.UnifiedDiffLine...) - Method in class com.github.difflib.unifieddiff.UnifiedDiffReader
 
valueOf(String) - Static method in enum com.github.difflib.patch.DeltaType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.difflib.patch.VerifyChunk
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.difflib.text.DiffRow.Tag
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.difflib.patch.DeltaType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.difflib.patch.VerifyChunk
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.difflib.text.DiffRow.Tag
Returns an array containing the constants of this enum type, in the order they are declared.
vDown - Variable in class com.github.difflib.algorithm.myers.MeyersDiffWithLinearSpace.DiffData
 
verifyAntApplyTo(List<T>) - Method in class com.github.difflib.patch.AbstractDelta
 
verifyChunk(List<T>) - Method in class com.github.difflib.patch.Chunk
Verifies that this chunk's saved text matches the corresponding text in the given sequence.
verifyChunk(List<T>, int, int) - Method in class com.github.difflib.patch.Chunk
Verifies that this chunk's saved text matches the corresponding text in the given sequence.
VerifyChunk - Enum in com.github.difflib.patch
 
VerifyChunk() - Constructor for enum com.github.difflib.patch.VerifyChunk
 
verifyChunkToFitTarget(List<T>) - Method in class com.github.difflib.patch.AbstractDelta
Verify the chunk of this delta, to fit the target.
vUp - Variable in class com.github.difflib.algorithm.myers.MeyersDiffWithLinearSpace.DiffData
 

W

WHITESPACE_PATTERN - Static variable in class com.github.difflib.text.DiffRowGenerator
 
withChunks(Chunk<T>, Chunk<T>) - Method in class com.github.difflib.patch.AbstractDelta
Create a new delta of the actual instance with customized chunk data.
withChunks(Chunk<T>, Chunk<T>) - Method in class com.github.difflib.patch.ChangeDelta
 
withChunks(Chunk<T>, Chunk<T>) - Method in class com.github.difflib.patch.DeleteDelta
 
withChunks(Chunk<T>, Chunk<T>) - Method in class com.github.difflib.patch.EqualDelta
 
withChunks(Chunk<T>, Chunk<T>) - Method in class com.github.difflib.patch.InsertDelta
 
withConflictOutput(ConflictOutput<T>) - Method in class com.github.difflib.patch.Patch
Alter normal conflict output behaviour to e.g.
withDefaultDiffAlgorithmFactory(DiffAlgorithmFactory) - Static method in class com.github.difflib.DiffUtils
 
withEndOriginal(int) - Method in class com.github.difflib.algorithm.Change
 
withEndRevised(int) - Method in class com.github.difflib.algorithm.Change
 
wrapInTag(List<String>, int, int, DiffRow.Tag, BiFunction<DiffRow.Tag, Boolean, String>, Function<String, String>, boolean) - Static method in class com.github.difflib.text.DiffRowGenerator
Wrap the elements in the sequence with the given tag
wrapText(String, int) - Static method in class com.github.difflib.text.StringUtils
Wrap the text with the given column width
wrapText(List<String>, int) - Static method in class com.github.difflib.text.StringUtils
 
write(UnifiedDiff, Function<String, List<String>>, Writer, int) - Static method in class com.github.difflib.unifieddiff.UnifiedDiffWriter
 
write(UnifiedDiff, Function<String, List<String>>, Consumer<String>, int) - Static method in class com.github.difflib.unifieddiff.UnifiedDiffWriter
 
writeOrNothing(Consumer<String>, String) - Static method in class com.github.difflib.unifieddiff.UnifiedDiffWriter
 
A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form