com.atlassian.confluence.diff
Class LineChunk
java.lang.Object
com.atlassian.confluence.diff.LineChunk
public class LineChunk
- extends java.lang.Object
Represents one or more lines of diffed text. Lines may be added, deleted, changed, context, snipped or unchanged.
Constructor Summary |
LineChunk(DiffType type,
java.util.List<com.atlassian.confluence.diff.DiffLine> lines)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LineChunk
public LineChunk(DiffType type,
java.util.List<com.atlassian.confluence.diff.DiffLine> lines)
getType
public DiffType getType()
getText
public java.lang.String getText()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getLines
public java.util.List<com.atlassian.confluence.diff.DiffLine> getLines()
isChangedChunk
public boolean isChangedChunk()
getJoinedStringLines
public java.lang.String getJoinedStringLines(java.lang.String separator)
setType
public void setType(DiffType type)
Copyright © 2003-2009 Atlassian Pty Ltd. All Rights Reserved.