com.atlassian.diff
Class WordChunk

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

public class WordChunk
extends Object
implements DiffChunk


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

Constructor Detail

WordChunk

public WordChunk(DiffType type,
                 String text)

WordChunk

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

getType

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

getText

public String getText()
Specified by:
getText in interface DiffChunk

isChangedChunk

public boolean isChangedChunk()

getCharacterChunks

public List<CharacterChunk> getCharacterChunks()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2002-2012 Atlassian. All Rights Reserved.