public class TextAnalyzerDefault extends Object implements ITextAnalyzer
| Constructor and Description |
|---|
TextAnalyzerDefault() |
| Modifier and Type | Method and Description |
|---|---|
Object |
evaluate(String content,
IPlaceholder placeholder,
IProcessor processor,
IContext context,
boolean silent)
Get the evaluation of a given text.
|
String |
replace(String content,
IPlaceholder placeholder,
IProcessor processor,
IContext context,
boolean silent)
Replace filtered parts in content using a processor.
|
public String replace(String content, IPlaceholder placeholder, IProcessor processor, IContext context, boolean silent) throws TextAnalyzerException
ITextAnalyzerreplace in interface ITextAnalyzercontent - Content to replace.placeholder - Text placeholder information.processor - A processor.context - The test context.silent - true, silent mode on, false, silent mode off.TextAnalyzerException - On processing errors.public Object evaluate(String content, IPlaceholder placeholder, IProcessor processor, IContext context, boolean silent) throws TextAnalyzerException
ITextAnalyzerevaluate in interface ITextAnalyzercontent - Content to evaluate.placeholder - Text placeholder information.processor - A processor.context - The test context.silent - true, silent mode on, false, silent mode off.TextAnalyzerException - On processing errors.Copyright © 2016. All rights reserved.