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

A

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

B

build() - Method in class difflib.DiffRowGenerator.Builder
Build the DiffRowGenerator.
buildPath(List<T>, List<T>) - 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, List<T>, List<T>) - Method in class difflib.myers.MyersDiff
Constructs a Patch from a difference path.

C

ChangeDelta<T> - Class in difflib
Describes the change-delta between original and revised texts.
ChangeDelta(Chunk<T>, Chunk<T>) - Constructor for class difflib.ChangeDelta
Creates a change delta with the two given chunks.
Chunk<T> - Class in difflib
Holds the information about the part of text involved in the diff process Text is represented as Object[] because the diff engine is capable of handling more than plain ascci.
Chunk(int, List<T>) - Constructor for class difflib.Chunk
Creates a chunk and saves a copy of affected lines
Chunk(int, T[]) - 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.
compare(Delta<?>, Delta<?>) - Method in class difflib.DeltaComparator
 
copyOfRange2(T[], int, int) - Static method in class difflib.myers.MyersDiff
Copied here from JDK 1.6
copyOfRange2(U[], int, int, Class<? extends T[]>) - Static method in class difflib.myers.MyersDiff
Copied here from JDK 1.6

D

DeleteDelta<T> - Class in difflib
Describes the delete-delta between original and revised texts.
DeleteDelta(Chunk<T>, Chunk<T>) - Constructor for class difflib.DeleteDelta
Creates a change delta with the two given chunks.
Delta<T> - Class in difflib
Describes the delta between original and revised texts.
Delta(Chunk<T>, Chunk<T>) - Constructor for class difflib.Delta
Construct the delta for original and revised chunks
Delta.TYPE - Enum in difflib
Specifies the type of the delta.
DeltaComparator - Class in difflib
 
diff(T[], T[]) - 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<T>, List<T>) - 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<T>, List<T>) - Static method in class difflib.DiffUtils
Computes the difference between the original and revised list of elements with default diff algorithm
diff(List<T>, List<T>, Equalizer<T>) - Static method in class difflib.DiffUtils
Computes the difference between the original and revised list of elements with default diff algorithm
diff(List<T>, List<T>, DiffAlgorithm<T>) - Static method in class difflib.DiffUtils
Computes the difference between the original and revised list of elements with default diff algorithm
diff(T[], T[]) - 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(List<T>, List<T>) - 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<T> - Interface in difflib
The general interface for computing diffs between two lists of elements of type T.
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

Equalizer<T> - Interface in difflib.myers
Specifies when two compared elements in the Myers algorithm are equal.
equals(Object) - Method in class difflib.Chunk
 
equals(Object) - Method in class difflib.Delta
 
equals(Object) - Method in class difflib.DiffRow
 
equals(T, T) - Method in interface difflib.myers.Equalizer
Indicates if two elements are equal according to the diff mechanism.
expandTabs(String) - Static method in class difflib.StringUtills
Replaces all tabs with 4 spaces.

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<String>) - 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<String>, int) - Static method in class difflib.DiffUtils
generateUnifiedDiff takes a Patch and some other arguments, returning the Unified Diff format text representing the Patch.
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
 
getTag() - Method in class difflib.DiffRow
 
getType() - Method in class difflib.ChangeDelta
 
getType() - Method in class difflib.DeleteDelta
 
getType() - Method in class difflib.Delta
Returns the type of delta
getType() - Method in class difflib.InsertDelta
 

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
Replaces all opening an closing tags with < or >.

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<T> - Class in difflib
Describes the add-delta between original and revised texts.
InsertDelta(Chunk<T>, Chunk<T>) - Constructor for class difflib.InsertDelta
Creates an insert delta with the two given chunks.
INSTANCE - Static variable in class difflib.DeltaComparator
 
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<T> - 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.
MyersDiff(Equalizer<T>) - 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<T>, Patch<T>) - Static method in class difflib.DiffUtils
Patch the original text with given patch
Patch<T> - 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<T>) - Method in class difflib.ChangeDelta
Cancel this delta for a given revised text.
restore(List<T>) - Method in class difflib.DeleteDelta
Cancel this delta for a given revised text.
restore(List<T>) - Method in class difflib.Delta
Cancel this delta for a given revised text.
restore(List<T>) - Method in class difflib.InsertDelta
Cancel this delta for a given revised text.
restore(List<T>) - Method in class difflib.Patch
Restore the text to original.

S

setLines(List<T>) - Method in class difflib.Chunk
 
setNewLine(String) - Method in class difflib.DiffRow
 
setOldLine(String) - Method in class difflib.DiffRow
 
setOriginal(Chunk<T>) - Method in class difflib.Delta
 
setRevised(Chunk<T>) - Method in class difflib.Delta
 
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.
size() - Method in class difflib.Chunk
 
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.ChangeDelta
 
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<T>, Patch<T>) - Static method in class difflib.DiffUtils
Unpatch the revised text for a given patch

V

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

Copyright © 2009-2013. All Rights Reserved.