|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portal.util.DiffHtmlImpl
public class DiffHtmlImpl
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 | |
---|---|
DiffHtmlImpl()
|
Method Summary | |
---|---|
java.lang.String |
diff(java.io.Reader source,
java.io.Reader target)
This is a diff method with default values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DiffHtmlImpl()
Method Detail |
---|
public java.lang.String diff(java.io.Reader source, java.io.Reader target) throws java.lang.Exception
diff
in interface com.liferay.portal.kernel.util.DiffHtml
source
- the Reader
of the source text, this can
be for example, an instance of FileReader or StringReadertarget
- the Reader
of the target text
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |