com.atlassian.confluence.diff
Class LineChunk

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

public class LineChunk
extends Object
implements DiffChunk, Serializable

Represents one line of diffed text.

See Also:
Serialized Form

Constructor Summary
LineChunk(DiffType type, List<WordChunk> words)
           
 
Method Summary
 List<WordChunk> getChildren()
           
 DiffType getType()
           
 String toString()
           
static LineChunk unchangedChunk(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,
                 List<WordChunk> words)
Method Detail

unchangedChunk

public static LineChunk unchangedChunk(String line)

getType

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

getChildren

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2013 Atlassian. All Rights Reserved.