public class DiffViewBean extends Object
DiffChunk
s retrieved from the
WordLevelDiffer
.Modifier and Type | Method and Description |
---|---|
static DiffViewBean |
createWordLevelDiff(String originalLine,
String revisedLine)
Creates a
DiffViewBean for the given original and revised text lines. |
List<DiffChunk> |
getOriginalChunks() |
List<DiffChunk> |
getRevisedChunks() |
List<DiffChunk> |
getUnifiedChunks() |
public List<DiffChunk> getOriginalChunks()
public List<DiffChunk> getRevisedChunks()
public static DiffViewBean createWordLevelDiff(String originalLine, String revisedLine)
DiffViewBean
for the given original and revised text lines.originalLine
- the original line of textrevisedLine
- the revised line of textCopyright © 2002-2018 Atlassian. All Rights Reserved.