|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.wiki.service.diff.DiffService
public class DiffService
Created by The eXo Platform SAS Author : viet nguyen viet.nguyen@exoplatform.com Jul 30, 2010
| Constructor Summary | |
|---|---|
DiffService()
|
|
| Method Summary | |
|---|---|
protected String |
escape(String text)
|
protected List |
getDeltas(org.suigeneris.jrcs.diff.Revision rev)
|
DiffResult |
getDifferencesAsHTML(String text1,
String text2,
boolean allDoc)
Return a DiffResult object representing line diffs between text1 and text2 |
List |
getDifferencesAsList(String text1,
String text2)
Return a list of Delta objects representing line differences in text1 and text2 |
DiffResult |
getWordDifferencesAsHTML(String text1,
String text2)
Return a DiffResult object representing word diffs between text1 and text2 |
List |
getWordDifferencesAsList(String text1,
String text2)
Return a list of Delta objects representing word differences in text1 and text2 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiffService()
| Method Detail |
|---|
public List getDifferencesAsList(String text1,
String text2)
throws org.suigeneris.jrcs.diff.DifferentiationFailedException
text1 - original contenttext2 - revised content
org.suigeneris.jrcs.diff.DifferentiationFailedException
public List getWordDifferencesAsList(String text1,
String text2)
throws org.suigeneris.jrcs.diff.DifferentiationFailedException
text1 - original contenttext2 - revised content
org.suigeneris.jrcs.diff.DifferentiationFailedException
public DiffResult getWordDifferencesAsHTML(String text1,
String text2)
throws org.suigeneris.jrcs.diff.DifferentiationFailedException
text1 - original contenttext2 - revised content
org.suigeneris.jrcs.diff.DifferentiationFailedException
public DiffResult getDifferencesAsHTML(String text1,
String text2,
boolean allDoc)
throws org.suigeneris.jrcs.diff.DifferentiationFailedException
text1 - original contenttext2 - revised contentallDoc - show all document
org.suigeneris.jrcs.diff.DifferentiationFailedExceptionprotected List getDeltas(org.suigeneris.jrcs.diff.Revision rev)
protected String escape(String text)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||