public class TraditionalDiffProvider extends java.lang.Object implements DiffProvider
DiffProvider.NullDiffProviderLATEST_VERSION| Constructor and Description |
|---|
TraditionalDiffProvider()
Constructs the provider.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getProviderInfo()
Return a valid HTML string for information.
|
void |
initialize(WikiEngine engine,
java.util.Properties properties)
Initializes the page provider.
|
java.lang.String |
makeDiffHtml(WikiContext ctx,
java.lang.String p1,
java.lang.String p2)
Makes a diff using the BMSI utility package.
|
public TraditionalDiffProvider()
public java.lang.String getProviderInfo()
getProviderInfo in interface WikiProviderWikiProvider.getProviderInfo()public void initialize(WikiEngine engine, java.util.Properties properties) throws NoRequiredPropertyException, java.io.IOException
initialize in interface WikiProviderengine - WikiEngine to own this providerproperties - A set of properties used to initialize this providerNoRequiredPropertyException - If the provider needs a property which is not found in the property setjava.io.IOException - If there is an IO problemWikiProvider.initialize(com.ecyrd.jspwiki.WikiEngine,
java.util.Properties)public java.lang.String makeDiffHtml(WikiContext ctx, java.lang.String p1, java.lang.String p2)
makeDiffHtml in interface DiffProviderctx - The WikiContext in which the diff should be made.p1 - The first stringp2 - The second string.stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.