com.atlassian.confluence.diff
Class LineChunk

java.lang.Object
  extended by com.atlassian.confluence.diff.LineChunk
All Implemented Interfaces:
DiffChunk

public class LineChunk
extends java.lang.Object
implements DiffChunk

Represents one line of diffed text.


Constructor Summary
LineChunk(DiffType type, java.util.List<WordChunk> words)
           
 
Method Summary
 java.util.List<WordChunk> getChildren()
           
 DiffType getType()
           
 java.lang.String toString()
           
static LineChunk unchangedChunk(java.lang.String line)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LineChunk

public LineChunk(DiffType type,
                 java.util.List<WordChunk> words)
Method Detail

unchangedChunk

public static LineChunk unchangedChunk(java.lang.String line)

getType

public DiffType getType()
Specified by:
getType in interface DiffChunk

getChildren

public java.util.List<WordChunk> getChildren()
Specified by:
getChildren in interface DiffChunk

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2010 Atlassian. All Rights Reserved.