com.liferay.portal.kernel.util
Class DiffHtmlUtil
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiffHtmlUtil
public DiffHtmlUtil()
diff
public static String diff(Reader source,
Reader target)
throws Exception
- Throws:
Exception
getDiffHtml
public static DiffHtml getDiffHtml()
setDiffHtml
public void setDiffHtml(DiffHtml diffHtml)