A C D E F G H I K L M N R S T U X

A

addChangedText(String) - Method in class com.alkacon.diff.HtmlDiffOutput
 
addChangedText(String) - Method in interface com.alkacon.diff.I_DiffOutput
Adds some changed text to this output.
addChangedText(String) - Method in class com.alkacon.diff.TextDiffOutput
 
ADDED - Static variable in class com.alkacon.diff.DiffLineType
Result type: Content added.
addUnchangedText(String) - Method in class com.alkacon.diff.HtmlDiffOutput
 
addUnchangedText(String) - Method in interface com.alkacon.diff.I_DiffOutput
Adds some unchanged text to this output.
addUnchangedText(String) - Method in class com.alkacon.diff.TextDiffOutput
 
ANCESTOR - Static variable in class com.alkacon.diff.rangedifferencer.RangeDifference
Three-way change constant indicating the same change in both right and left, that is only the ancestor is different.
ancestorEnd() - Method in class com.alkacon.diff.rangedifferencer.RangeDifference
Returns the end index of the entity range on the ancestor side.
ancestorLength() - Method in class com.alkacon.diff.rangedifferencer.RangeDifference
Returns the number of entities on the ancestor side.
ancestorStart() - Method in class com.alkacon.diff.rangedifferencer.RangeDifference
Returns the start index of the entity range on the ancestor side.
assertIsTrue(boolean) - Static method in class com.alkacon.diff.rangedifferencer.RangeDifferencer
Asserts that the given boolean is true.

C

CHANGE - Static variable in class com.alkacon.diff.rangedifferencer.RangeDifference
Two-way change constant indicating two-way change (same as RIGHT).
characters(char[], int, int) - Method in class com.alkacon.diff.XmlSaxWriter
 
com.alkacon.diff - package com.alkacon.diff
 
com.alkacon.diff.rangedifferencer - package com.alkacon.diff.rangedifferencer
 
comment(char[], int, int) - Method in class com.alkacon.diff.XmlSaxWriter
 
CONFLICT - Static variable in class com.alkacon.diff.rangedifferencer.RangeDifference
Three-way change constant indicating a change in both right and left.

D

Diff - Class in com.alkacon.diff
Calculates the difference from two given input sources.
diff(String, String, I_DiffOutput, I_DiffConfiguration) - Static method in class com.alkacon.diff.Diff
Diffs two texts, outputting the result to the specified DiffOutput instance.
diffAsHtml(String, String, I_HtmlDiffConfiguration) - Static method in class com.alkacon.diff.Diff
Returns the diff of the given two input texts in HTML format.
diffAsHtml(String, String, Writer, I_HtmlDiffConfiguration) - Static method in class com.alkacon.diff.Diff
Diffs two texts, outputting the result as HTML to the specified writer instance.
diffAsText(String, String, I_TextDiffConfiguration) - Static method in class com.alkacon.diff.Diff
Returns the diff of the given two input texts in plain text format.
diffAsText(String, String, Writer, I_TextDiffConfiguration) - Static method in class com.alkacon.diff.Diff
Diffs two texts, outputting the result as plain text to the specified writer instance.
DiffConfiguration - Class in com.alkacon.diff
Default Diff operation configuration class.
DiffConfiguration(int, String, String, Locale) - Constructor for class com.alkacon.diff.DiffConfiguration
Creates a new configuration object.
DiffLineType - Class in com.alkacon.diff
Provides the basic result types for the diff output.

E

endCDATA() - Method in class com.alkacon.diff.XmlSaxWriter
 
endDocument() - Method in class com.alkacon.diff.XmlSaxWriter
 
endDTD() - Method in class com.alkacon.diff.XmlSaxWriter
 
endElement(String, String, String) - Method in class com.alkacon.diff.XmlSaxWriter
 
endEntity(String) - Method in class com.alkacon.diff.XmlSaxWriter
 
endLine() - Method in class com.alkacon.diff.HtmlDiffOutput
 
endLine() - Method in interface com.alkacon.diff.I_DiffOutput
Ends the current output line.
endLine() - Method in class com.alkacon.diff.TextDiffOutput
 
ERROR - Static variable in class com.alkacon.diff.rangedifferencer.RangeDifference
Constant indicating an unknown change kind.
escapeXml(String) - Static method in class com.alkacon.diff.XmlSaxWriter
Escapes a String so it may be printed as text content or attribute value in a HTML page or an XML file.

F

findDifferences(I_RangeComparator, I_RangeComparator) - Static method in class com.alkacon.diff.rangedifferencer.RangeDifferencer
Finds the differences between two IRangeComparators.
findDifferences(I_RangeComparator, I_RangeComparator, I_RangeComparator) - Static method in class com.alkacon.diff.rangedifferencer.RangeDifferencer
Finds the differences among three IRangeComparators.
findRanges(I_RangeComparator, I_RangeComparator) - Static method in class com.alkacon.diff.rangedifferencer.RangeDifferencer
Finds the differences among two IRangeComparators.
findRanges(I_RangeComparator, I_RangeComparator, I_RangeComparator) - Static method in class com.alkacon.diff.rangedifferencer.RangeDifferencer
Finds the differences among three IRangeComparators.

G

getChangedCharMarker() - Method in interface com.alkacon.diff.I_TextDiffConfiguration
Returns the marker to use to highlight changed chars.
getChangedCharMarker() - Method in class com.alkacon.diff.TextDiffConfiguration
 
getDivStyleName(DiffLineType) - Method in class com.alkacon.diff.HtmlDiffConfiguration
 
getDivStyleName(DiffLineType) - Method in interface com.alkacon.diff.I_HtmlDiffConfiguration
Returns the style name to format a whole line.
getLinesBeforeSkip() - Method in class com.alkacon.diff.DiffConfiguration
 
getLinesBeforeSkip() - Method in class com.alkacon.diff.HtmlDiffConfiguration
 
getLinesBeforeSkip() - Method in interface com.alkacon.diff.I_DiffConfiguration
Returns the number of lines to show before skipping.
getLinesBeforeSkip() - Method in class com.alkacon.diff.TextDiffConfiguration
 
getMessageEqualLinesSkipped(int) - Method in class com.alkacon.diff.DiffConfiguration
 
getMessageEqualLinesSkipped(int) - Method in class com.alkacon.diff.HtmlDiffConfiguration
 
getMessageEqualLinesSkipped(int) - Method in interface com.alkacon.diff.I_DiffConfiguration
Returns a localized message like '({0} equal lines skipped)'.
getMessageEqualLinesSkipped(int) - Method in class com.alkacon.diff.TextDiffConfiguration
 
getRangeCount() - Method in interface com.alkacon.diff.rangedifferencer.I_RangeComparator
Returns the number of comparable entities.
getSpanStyleName(DiffLineType) - Method in class com.alkacon.diff.HtmlDiffConfiguration
 
getSpanStyleName(DiffLineType) - Method in interface com.alkacon.diff.I_HtmlDiffConfiguration
Returns the style name to format a block in a line.
getWriter() - Method in class com.alkacon.diff.XmlSaxWriter
Returns the Writer where the XML is written to.

H

HtmlDiffConfiguration - Class in com.alkacon.diff
Default Html Diff operation configuration class.
HtmlDiffConfiguration(I_DiffConfiguration) - Constructor for class com.alkacon.diff.HtmlDiffConfiguration
Creates a new configuration object.
HtmlDiffOutput - Class in com.alkacon.diff
Outputs the diff result as HTML elements to a SAX ContentHandler.
HtmlDiffOutput(ContentHandler, I_HtmlDiffConfiguration) - Constructor for class com.alkacon.diff.HtmlDiffOutput
Creates a new HTML Diff output based on the given XML content handler.

I

I_DiffConfiguration - Interface in com.alkacon.diff
Configurates a Diff operation.
I_DiffOutput - Interface in com.alkacon.diff
A DiffOutput instance must be provided to the Diff to handle the result of the diff process.
I_HtmlDiffConfiguration - Interface in com.alkacon.diff
Configurates a Html Diff operation.
I_RangeComparator - Interface in com.alkacon.diff.rangedifferencer
For breaking an object to compare into a sequence of comparable entities.
I_TextDiffConfiguration - Interface in com.alkacon.diff
Configurates a Text Diff operation.
isEscapeXml() - Method in class com.alkacon.diff.XmlSaxWriter
Returns true if XML entities are to be encoded in the generated output (not in CDATA elements).
isIndentXml() - Method in class com.alkacon.diff.XmlSaxWriter
Returns true if the generated XML is to be indented using newlines and tabs in the generated output.

K

kind() - Method in class com.alkacon.diff.rangedifferencer.RangeDifference
Returns the kind of difference.

L

LEFT - Static variable in class com.alkacon.diff.rangedifferencer.RangeDifference
Three-way change constant indicating a change in left.
leftEnd() - Method in class com.alkacon.diff.rangedifferencer.RangeDifference
Returns the end index of the entity range on the left side.
leftLength() - Method in class com.alkacon.diff.rangedifferencer.RangeDifference
Returns the number of entities on the left side.
leftStart() - Method in class com.alkacon.diff.rangedifferencer.RangeDifference
Returns the start index of the entity range on the left side.

M

maxLength() - Method in class com.alkacon.diff.rangedifferencer.RangeDifference
Returns the maximum number of entities in the left, right, and ancestor sides of this range.

N

NOCHANGE - Static variable in class com.alkacon.diff.rangedifferencer.RangeDifference
Two-way change constant indicating no change.

R

RangeDifference - Class in com.alkacon.diff.rangedifferencer
Description of a change between two or three ranges of comparable entities.
RangeDifferencer - Class in com.alkacon.diff.rangedifferencer
A RangeDifferencer finds the differences between two or three IRangeComparators.
rangesEqual(int, I_RangeComparator, int) - Method in interface com.alkacon.diff.rangedifferencer.I_RangeComparator
Returns whether the comparable entity given by the first index matches an entity specified by the other IRangeComparator and index.
REMOVED - Static variable in class com.alkacon.diff.DiffLineType
Result type: Content removed.
RIGHT - Static variable in class com.alkacon.diff.rangedifferencer.RangeDifference
Three-way change constant indicating a change in right.
rightEnd() - Method in class com.alkacon.diff.rangedifferencer.RangeDifference
Returns the end index of the entity range on the right side.
rightLength() - Method in class com.alkacon.diff.rangedifferencer.RangeDifference
Returns the number of entities on the right side.
rightStart() - Method in class com.alkacon.diff.rangedifferencer.RangeDifference
Returns the start index of the entity range on the right side.

S

setDivStyleNames(String, String, String, String) - Method in class com.alkacon.diff.HtmlDiffConfiguration
Sets all div style names.
setEscapeXml(boolean) - Method in class com.alkacon.diff.XmlSaxWriter
If set to true, then XML entities are to be encoded in the generated output (not in CDATA elements).
setIndentXml(boolean) - Method in class com.alkacon.diff.XmlSaxWriter
If set to true, then the generated XML is to be indented using newlines and tabs in the generated output.
setSpanStyleNames(String, String, String) - Method in class com.alkacon.diff.HtmlDiffConfiguration
Sets all span style names.
SKIPPED - Static variable in class com.alkacon.diff.DiffLineType
Result type: Lines skipped.
skippedLines(int) - Method in class com.alkacon.diff.HtmlDiffOutput
 
skippedLines(int) - Method in interface com.alkacon.diff.I_DiffOutput
Adds an indicator that some lines have been skipped.
skippedLines(int) - Method in class com.alkacon.diff.TextDiffOutput
 
skipRangeComparison(int, int, I_RangeComparator) - Method in interface com.alkacon.diff.rangedifferencer.I_RangeComparator
Returns whether a comparison should be skipped because it would be too costly (or lengthy).
startCDATA() - Method in class com.alkacon.diff.XmlSaxWriter
 
startDocument() - Method in class com.alkacon.diff.XmlSaxWriter
 
startDTD(String, String, String) - Method in class com.alkacon.diff.XmlSaxWriter
 
startElement(String, String, String, Attributes) - Method in class com.alkacon.diff.XmlSaxWriter
 
startEntity(String) - Method in class com.alkacon.diff.XmlSaxWriter
 
startLine(DiffLineType) - Method in class com.alkacon.diff.HtmlDiffOutput
 
startLine(DiffLineType) - Method in interface com.alkacon.diff.I_DiffOutput
Starts a new line of the given type.
startLine(DiffLineType) - Method in class com.alkacon.diff.TextDiffOutput
 

T

TextDiffConfiguration - Class in com.alkacon.diff
Default Text Diff operation configuration class.
TextDiffConfiguration(I_DiffConfiguration, char) - Constructor for class com.alkacon.diff.TextDiffConfiguration
Creates a new configuration object.
TextDiffOutput - Class in com.alkacon.diff
Text based implementation for a Diff output.
TextDiffOutput(Writer, I_TextDiffConfiguration) - Constructor for class com.alkacon.diff.TextDiffOutput
Creates a new text based diff output.
toString() - Method in class com.alkacon.diff.DiffLineType
Returns the name of the basic result types for the diff output.

U

UNCHANGED - Static variable in class com.alkacon.diff.DiffLineType
Result type: Content unchanged.

X

XmlSaxWriter - Class in com.alkacon.diff
Simple SAX event handler that generates a XML (or HTML) file from the events caught.
XmlSaxWriter(Writer) - Constructor for class com.alkacon.diff.XmlSaxWriter
A SAX event handler that generates XML / HTML Strings from the events caught and writes them to the given Writer.

A C D E F G H I K L M N R S T U X

Copyright © 2005-2011. All Rights Reserved.