|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.diff.LineLevelDiffer
Differ
@Deprecated public class LineLevelDiffer
Wraps an Apache Diff with Atlassian goodness, making it closer to how a human expects the difference to appear.
| Constructor Summary | |
|---|---|
LineLevelDiffer()
Deprecated. |
|
| Method Summary | |
|---|---|
static List<ChangeChunk> |
diff(String[] originalContent,
String[] revisedContent,
int linesOfContext)
Deprecated. |
static List<ChangeChunk> |
diff(String[] originalContent,
String[] revisedContent,
int linesContext,
boolean ignoreWhiteSpace)
Deprecated. Diff lines of text, showing all context. |
static List<ChangeChunk> |
diff(String origContent,
String revdContent)
Deprecated. |
static List<ChangeChunk> |
diff(String origContent,
String revdContent,
boolean ignoreWhiteSpace)
Deprecated. |
static List<ChangeChunk> |
diff(String origContent,
String revdContent,
int linesContext,
boolean ignoreWhiteSpace)
Deprecated. |
static List<ChangeChunk> |
diffLines(String[] origLines,
String[] revdLines,
int linesOfContext)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LineLevelDiffer()
| Method Detail |
|---|
public static List<ChangeChunk> diff(String[] originalContent,
String[] revisedContent,
int linesContext,
boolean ignoreWhiteSpace)
throws org.apache.commons.jrcs.diff.DifferentiationFailedException
ignoreWhiteSpace - Do not show added/removed spaces and newlines as changes.
org.apache.commons.jrcs.diff.DifferentiationFailedException
public static List<ChangeChunk> diffLines(String[] origLines,
String[] revdLines,
int linesOfContext)
throws org.apache.commons.jrcs.diff.DifferentiationFailedException
org.apache.commons.jrcs.diff.DifferentiationFailedException
public static List<ChangeChunk> diff(String origContent,
String revdContent)
throws org.apache.commons.jrcs.diff.DifferentiationFailedException
org.apache.commons.jrcs.diff.DifferentiationFailedException
public static List<ChangeChunk> diff(String[] originalContent,
String[] revisedContent,
int linesOfContext)
throws org.apache.commons.jrcs.diff.DifferentiationFailedException
org.apache.commons.jrcs.diff.DifferentiationFailedException
public static List<ChangeChunk> diff(String origContent,
String revdContent,
boolean ignoreWhiteSpace)
throws org.apache.commons.jrcs.diff.DifferentiationFailedException
org.apache.commons.jrcs.diff.DifferentiationFailedException
public static List<ChangeChunk> diff(String origContent,
String revdContent,
int linesContext,
boolean ignoreWhiteSpace)
throws org.apache.commons.jrcs.diff.DifferentiationFailedException
org.apache.commons.jrcs.diff.DifferentiationFailedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||