com.ecyrd.jspwiki.diff
Class DifferenceManager

java.lang.Object
  extended by com.ecyrd.jspwiki.diff.DifferenceManager

public class DifferenceManager
extends Object

Load, initialize and delegate to the DiffProvider that will actually do the work.

Author:
John Volkar

Field Summary
static String PROP_DIFF_PROVIDER
           
 
Constructor Summary
DifferenceManager(WikiEngine engine, Properties props)
           
 
Method Summary
 String makeDiff(String firstWikiText, String secondWikiText)
          Returns valid XHTML string to be used in any way you please.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_DIFF_PROVIDER

public static final String PROP_DIFF_PROVIDER
See Also:
Constant Field Values
Constructor Detail

DifferenceManager

public DifferenceManager(WikiEngine engine,
                         Properties props)
Method Detail

makeDiff

public String makeDiff(String firstWikiText,
                       String secondWikiText)
Returns valid XHTML string to be used in any way you please.

Returns:
XHTML, or empty string, if no difference detected.