com.atlassian.confluence.diff
Class WordChunk

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

public class WordChunk
extends java.lang.Object
implements DiffChunk


Constructor Summary
WordChunk(DiffType type, java.util.List<CharacterChunk> characterChunks)
           
WordChunk(DiffType type, java.lang.String text)
           
 
Method Summary
 java.util.List<CharacterChunk> getCharacterChunks()
           
 java.lang.String getText()
           
 DiffType getType()
           
 boolean isChangedChunk()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WordChunk

public WordChunk(DiffType type,
                 java.lang.String text)

WordChunk

public WordChunk(DiffType type,
                 java.util.List<CharacterChunk> characterChunks)
Method Detail

getType

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

getText

public java.lang.String getText()
Specified by:
getText in interface DiffChunk

isChangedChunk

public boolean isChangedChunk()

getCharacterChunks

public java.util.List<CharacterChunk> getCharacterChunks()

toString

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


Copyright © 2003-2009 Atlassian Pty Ltd. All Rights Reserved.