com.atlassian.diff
Class WordChunk

java.lang.Object
  extended by com.atlassian.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
 boolean equals(java.lang.Object o)
           
 java.util.List<CharacterChunk> getCharacterChunks()
           
 java.lang.String getText()
           
 DiffType getType()
           
 int hashCode()
           
 boolean isChangedChunk()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, 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

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2002-2010 Atlassian. All Rights Reserved.