| java.lang.Object com.ecyrd.jspwiki.diff.DifferenceManager
DifferenceManager | public class DifferenceManager (Code) | | Load, initialize and delegate to the DiffProvider that will actually do the work.
author: John Volkar |
PROP_DIFF_PROVIDER | final public static String PROP_DIFF_PROVIDER(Code) | | Property value for storing a diff provider. Value is
.
|
DifferenceManager | public DifferenceManager(WikiEngine engine, Properties props)(Code) | | Creates a new DifferenceManager for the given engine.
Parameters: engine - The WikiEngine. Parameters: props - A set of properties. |
makeDiff | public String makeDiff(WikiContext context, String firstWikiText, String secondWikiText)(Code) | | Returns valid XHTML string to be used in any way you please.
Parameters: context - The Wiki Context Parameters: firstWikiText - The old text Parameters: secondWikiText - the new text XHTML, or empty string, if no difference detected. |
|
|