Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.util
Class DiffHtmlUtil

java.lang.Object
  extended by com.liferay.portal.kernel.util.DiffHtmlUtil

public class DiffHtmlUtil
extends Object

This class can compare two different versions of HTML code. It detects changes to an entire HTML page such as removal or addition of characters or images.


Constructor Summary
DiffHtmlUtil()
           
 
Method Summary
static String diff(Reader source, Reader target)
           
static DiffHtml getDiffHtml()
           
 void setDiffHtml(DiffHtml diffHtml)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiffHtmlUtil

public DiffHtmlUtil()
Method Detail

diff

public static String diff(Reader source,
                          Reader target)
                   throws Exception
Throws:
Exception

getDiffHtml

public static DiffHtml getDiffHtml()

setDiffHtml

public void setDiffHtml(DiffHtml diffHtml)

Liferay 6.1.2-ce-ga3