com.atlassian.jira.web.action.util
Class DiffViewRenderer

java.lang.Object
  extended by com.atlassian.jira.web.action.util.DiffViewRenderer

public class DiffViewRenderer
extends Object

A utility class to render a view of a diff between two strings.

Since:
v4.0

Constructor Summary
DiffViewRenderer()
           
 
Method Summary
 String getOriginalHtml(DiffViewBean wordLevelDiff)
           
 String getOriginalHtml(DiffViewBean wordLevelDiff, String removedStyle, String addedStyle)
           
 String getRevisedHtml(DiffViewBean wordLevelDiff)
           
 String getRevisedHtml(DiffViewBean wordLevelDiff, String removedStyle, String addedStyle)
           
 String getUnifiedHtml(DiffViewBean wordLevelDiff)
           
 String getUnifiedHtml(DiffViewBean wordLevelDiff, String removedStyle, String addedStyle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiffViewRenderer

public DiffViewRenderer()
Method Detail

getUnifiedHtml

public String getUnifiedHtml(DiffViewBean wordLevelDiff)

getUnifiedHtml

public String getUnifiedHtml(DiffViewBean wordLevelDiff,
                             String removedStyle,
                             String addedStyle)

getOriginalHtml

public String getOriginalHtml(DiffViewBean wordLevelDiff)

getOriginalHtml

public String getOriginalHtml(DiffViewBean wordLevelDiff,
                              String removedStyle,
                              String addedStyle)

getRevisedHtml

public String getRevisedHtml(DiffViewBean wordLevelDiff)

getRevisedHtml

public String getRevisedHtml(DiffViewBean wordLevelDiff,
                             String removedStyle,
                             String addedStyle)


Copyright © 2002-2012 Atlassian. All Rights Reserved.