|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.diff.WordLevelDiffer
public class WordLevelDiffer
Diffs words in a line of text.
Constructor Summary | |
---|---|
WordLevelDiffer()
|
Method Summary | |
---|---|
static java.util.List<DiffChunk> |
diffLine(java.lang.String originalLine,
java.lang.String revisedLine)
Returns a list of chunks that contain text and the status of the text - unchanged, added or deleted. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WordLevelDiffer()
Method Detail |
---|
public static java.util.List<DiffChunk> diffLine(java.lang.String originalLine, java.lang.String revisedLine) throws org.apache.commons.jrcs.diff.DifferentiationFailedException
originalLine
- the original linerevisedLine
- the revised line
org.apache.commons.jrcs.diff.DifferentiationFailedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |