public class DifferenceManager extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PROP_DIFF_PROVIDER
Property value for storing a diff provider.
|
Constructor and Description |
---|
DifferenceManager(WikiEngine engine,
Properties props)
Creates a new DifferenceManager for the given engine.
|
Modifier and Type | Method and Description |
---|---|
String |
makeDiff(WikiContext context,
String firstWikiText,
String secondWikiText)
Returns valid XHTML string to be used in any way you please.
|
public static final String PROP_DIFF_PROVIDER
public DifferenceManager(WikiEngine engine, Properties props)
engine
- The WikiEngine.props
- A set of properties.public String makeDiff(WikiContext context, String firstWikiText, String secondWikiText)
context
- The Wiki ContextfirstWikiText
- The old textsecondWikiText
- the new textCopyright © 2001-2019 The Apache Software Foundation. All rights reserved.