A B C D E G H I J L M N P R S T U V W

A

addDelta(Delta) - Method in class difflib.Patch
Add the given delta to this patch
applyTo(List<Object>) - Method in class difflib.ChangeDelta
Applies this delta as the patch for a given target
applyTo(List<Object>) - Method in class difflib.DeleteDelta
Applies this delta as the patch for a given target
applyTo(List<Object>) - Method in class difflib.Delta
Applies this delta as the patch for a given target
applyTo(List<Object>) - Method in class difflib.InsertDelta
Applies this delta as the patch for a given target
applyTo(List<?>) - Method in class difflib.Patch
Apply this patch to the given target

B

build() - Method in class difflib.DiffRowGenerator.Builder
Build the DiffRowGenerator.
buildPath(Object[], Object[]) - Static method in class difflib.myers.MyersDiff
Computes the minimum diffpath that expresses de differences between the original and revised sequences, according to Gene Myers differencing algorithm.
buildRevision(PathNode, Object[], Object[]) - Static method in class difflib.myers.MyersDiff
Constructs a Revision from a difference path.

C

ChangeDelta - Class in difflib
Describes the change-delta between original and revised texts.
ChangeDelta(Chunk, Chunk) - Constructor for class difflib.ChangeDelta
Chunk - Class in difflib
Holds the information about the part of text involved in the diff process
Chunk(int, int, List<?>) - Constructor for class difflib.Chunk
Creates a chunk and saves a copy of affected lines
Chunk(int, int, Object[]) - Constructor for class difflib.Chunk
Creates a chunk and saves a copy of affected lines
columnWidth(int) - Method in class difflib.DiffRowGenerator.Builder
Set the column with of generated lines of original and revised texts.
copyOfRange(T[], int, int) - Static method in class difflib.myers.MyersDiff
Copied here from JDK 1.6
copyOfRange(U[], int, int, Class<? extends T[]>) - Static method in class difflib.myers.MyersDiff
Copied here from JDK 1.6

D

DeleteDelta - Class in difflib
Describes the delete-delta between original and revised texts.
DeleteDelta(Chunk, Chunk) - Constructor for class difflib.DeleteDelta
Delta - Class in difflib
Describes the delta between original and revised texts.
Delta(Chunk, Chunk) - Constructor for class difflib.Delta
Construct the delta for original and revised chunks
diff(Object[], Object[]) - Method in interface difflib.DiffAlgorithm
Computes the difference between the original sequence and the revised sequence and returns it as a Patch object.
diff(List<?>, List<?>) - Method in interface difflib.DiffAlgorithm
Computes the difference between the original sequence and the revised sequence and returns it as a Patch object.
diff(List<?>, List<?>) - Static method in class difflib.DiffUtils
Compute the difference between the original and revised texts with default diff algorithm
diff(List<?>, List<?>, DiffAlgorithm) - Static method in class difflib.DiffUtils
Compute the difference between the original and revised texts with given diff algorithm
diff(List<?>, List<?>) - Method in class difflib.myers.MyersDiff
Computes the difference between the original sequence and the revised sequence and returns it as a Patch object.
diff(Object[], Object[]) - Method in class difflib.myers.MyersDiff
Computes the difference between the original sequence and the revised sequence and returns it as a Patch object.
DiffAlgorithm - Interface in difflib
The general interface for computing diffs between two texts
DifferentiationFailedException - Exception in difflib.myers
Thrown whenever the differencing engine cannot produce the differences between two revisions of ta text.
DifferentiationFailedException() - Constructor for exception difflib.myers.DifferentiationFailedException
 
DifferentiationFailedException(String) - Constructor for exception difflib.myers.DifferentiationFailedException
 
DiffException - Exception in difflib
Base class for all exceptions emanating from this package.
DiffException() - Constructor for exception difflib.DiffException
 
DiffException(String) - Constructor for exception difflib.DiffException
 
DiffException - Exception in difflib.myers
Base class for all exceptions emanating from this package.
DiffException() - Constructor for exception difflib.myers.DiffException
 
DiffException(String) - Constructor for exception difflib.myers.DiffException
 
difflib - package difflib
The difflib package implements general operation with diff files.
difflib.myers - package difflib.myers
The diff.myers package implements Gene Myers' differencing algorithm.
DiffNode - Class in difflib.myers
A diffnode in a diffpath.
DiffNode(int, int, PathNode) - Constructor for class difflib.myers.DiffNode
Constructs a DiffNode.
DiffRow - Class in difflib
Describes the diff row in form [tag, oldLine, newLine) for showing the difference between two texts
DiffRow(DiffRow.Tag, String, String) - Constructor for class difflib.DiffRow
 
DiffRow.Tag - Enum in difflib
 
DiffRowGenerator - Class in difflib
This class for generating DiffRows for side-by-sidy view.
DiffRowGenerator.Builder - Class in difflib
This class used for building the DiffRowGenerator.
DiffRowGenerator.Builder() - Constructor for class difflib.DiffRowGenerator.Builder
 
DiffUtils - Class in difflib
Implements the difference and patching engine
DiffUtils() - Constructor for class difflib.DiffUtils
 

E

equals(Object) - Method in class difflib.Chunk
 
equals(Object) - Method in class difflib.Delta
 
equals(Object) - Method in class difflib.DiffRow
 
expandTabs(String) - Static method in class difflib.StringUtills
 

G

generateDiffRows(List<String>, List<String>) - Method in class difflib.DiffRowGenerator
Get the DiffRows describing the difference between original and revised texts using the given patch.
generateDiffRows(List<String>, List<String>, Patch) - Method in class difflib.DiffRowGenerator
Generates the DiffRows describing the difference between original and revised texts using the given patch.
generateUnifiedDiff(String, String, List<String>, Patch, int) - Static method in class difflib.DiffUtils
generateUnifiedDiff takes a Patch and some other arguments, returning the Unified Diff format text representing the Patch.
getDelta(int) - Method in class difflib.Patch
Get the specific delta from patch deltas
getDeltas() - Method in class difflib.Patch
Get the list of computed deltas
getLines() - Method in class difflib.Chunk
 
getNewLine() - Method in class difflib.DiffRow
 
getOldLine() - Method in class difflib.DiffRow
 
getOriginal() - Method in class difflib.Delta
 
getPosition() - Method in class difflib.Chunk
 
getRevised() - Method in class difflib.Delta
 
getSize() - Method in class difflib.Chunk
 
getTag() - Method in class difflib.DiffRow
 

H

hashCode() - Method in class difflib.Chunk
 
hashCode() - Method in class difflib.Delta
 
hashCode() - Method in class difflib.DiffRow
 
htmlEntites(String) - Static method in class difflib.StringUtills
 

I

i - Variable in class difflib.myers.PathNode
Position in the original sequence.
ignoreBlankLines(boolean) - Method in class difflib.DiffRowGenerator.Builder
Ignore blank lines in generating diff rows or not.
ignoreWhiteSpaces(boolean) - Method in class difflib.DiffRowGenerator.Builder
Ignore white spaces in generating diff rows or not.
InlineNewCssClass(String) - Method in class difflib.DiffRowGenerator.Builder
Set the css class used for displaying changes in the revised text.
InlineNewTag(String) - Method in class difflib.DiffRowGenerator.Builder
Set the tag used for displaying changes in the revised text.
InlineOldCssClass(String) - Method in class difflib.DiffRowGenerator.Builder
Set the css class used for displaying changes in the original text.
InlineOldTag(String) - Method in class difflib.DiffRowGenerator.Builder
Set the tag used for displaying changes in the original text.
InsertDelta - Class in difflib
Describes the add-delta between original and revised texts.
InsertDelta(Chunk, Chunk) - Constructor for class difflib.InsertDelta
isBootstrap() - Method in class difflib.myers.PathNode
Is this a bootstrap node?
isSnake() - Method in class difflib.myers.DiffNode
Is this node a Snake node?
isSnake() - Method in class difflib.myers.PathNode
Is this node a Snake node?
isSnake() - Method in class difflib.myers.Snake
Is this node a Snake node?

J

j - Variable in class difflib.myers.PathNode
Position in the revised sequence.
join(Iterable<T>, String) - Static method in class difflib.StringUtills
 

L

last() - Method in class difflib.Chunk
Returns the index of the last line of the chunk.

M

MyersDiff - Class in difflib.myers
A clean-room implementation of Eugene Myers differencing algorithm.
MyersDiff() - Constructor for class difflib.myers.MyersDiff
Constructs an instance of the Myers differencing algorithm.

N

normalize(String) - Static method in class difflib.StringUtills
 
normalize(List<String>) - Static method in class difflib.StringUtills
 

P

parseUnifiedDiff(List<String>) - Static method in class difflib.DiffUtils
Parse the given text in unified format and creates the list of deltas for it.
patch(List<?>, Patch) - Static method in class difflib.DiffUtils
Patch the original text with given patch
Patch - Class in difflib
Describes the patch holding all deltas between the original and revised texts.
Patch() - Constructor for class difflib.Patch
 
PatchFailedException - Exception in difflib
Thrown whenever a delta cannot be applied as a patch to a given text.
PatchFailedException() - Constructor for exception difflib.PatchFailedException
 
PatchFailedException(String) - Constructor for exception difflib.PatchFailedException
 
PathNode - Class in difflib.myers
A node in a diffpath.
PathNode(int, int, PathNode) - Constructor for class difflib.myers.PathNode
Concatenates a new path node with an existing diffpath.
prev - Variable in class difflib.myers.PathNode
The previous node in the path.
previousSnake() - Method in class difflib.myers.PathNode
Skips sequences of DiffNodes until a Snake or bootstrap node is found, or the end of the path is reached.

R

restore(List<Object>) - Method in class difflib.ChangeDelta
Cancel this delta for a given revised text.
restore(List<Object>) - Method in class difflib.DeleteDelta
Cancel this delta for a given revised text.
restore(List<Object>) - Method in class difflib.Delta
Cancel this delta for a given revised text.
restore(List<Object>) - Method in class difflib.InsertDelta
Cancel this delta for a given revised text.
restore(List<?>) - Method in class difflib.Patch
Restore the text to original.

S

setDeltas(List<Delta>) - Method in class difflib.Patch
 
setLines(List<?>) - Method in class difflib.Chunk
 
setNewLine(String) - Method in class difflib.DiffRow
 
setOldLine(String) - Method in class difflib.DiffRow
 
setOriginal(Chunk) - Method in class difflib.Delta
 
setPosition(int) - Method in class difflib.Chunk
 
setRevised(Chunk) - Method in class difflib.Delta
 
setSize(int) - Method in class difflib.Chunk
 
setTag(DiffRow.Tag) - Method in class difflib.DiffRow
 
showInlineDiffs(boolean) - Method in class difflib.DiffRowGenerator.Builder
Show inline diffs in generating diff rows or not.
Snake - Class in difflib.myers
Represents a snake in a diffpath.
Snake(int, int, PathNode) - Constructor for class difflib.myers.Snake
Constructs a snake node.
StringUtills - Class in difflib
 
StringUtills() - Constructor for class difflib.StringUtills
 

T

toString() - Method in class difflib.Chunk
 
toString() - Method in class difflib.DeleteDelta
 
toString() - Method in class difflib.DiffRow
 
toString() - Method in class difflib.InsertDelta
 
toString() - Method in class difflib.myers.PathNode

U

unpatch(List<?>, Patch) - Static method in class difflib.DiffUtils
Unpatch the revised text for a given patch

V

valueOf(String) - Static method in enum difflib.DiffRow.Tag
Returns the enum constant of this type with the specified name.
values() - Static method in enum difflib.DiffRow.Tag
Returns an array containing the constants of this enum type, in the order they are declared.
verify(List<?>) - Method in class difflib.ChangeDelta
Verifies that this delta can be used to patch the given text.
verify(List<?>) - Method in class difflib.Chunk
Verifies that this chunk's saved text matches the corresponding text in the given sequence.
verify(List<?>) - Method in class difflib.DeleteDelta
 
verify(List<?>) - Method in class difflib.Delta
Verifies that this delta can be used to patch the given text.
verify(List<?>) - Method in class difflib.InsertDelta
 

W

wrapInTag(LinkedList<String>, int, int, String, String) - Static method in class difflib.DiffRowGenerator
Wrap the elements in the sequence with the given tag
wrapInTag(String, String, String) - Static method in class difflib.DiffRowGenerator
Wrap the given line with the given tag
wrapText(List<String>, int) - Static method in class difflib.StringUtills
 
wrapText(String, int) - Static method in class difflib.StringUtills
Wrap the text with the given column width

A B C D E G H I J L M N P R S T U V W