public class HTMLCorrectorReplaceStrategy extends Object implements HTMLCorrectorStrategy
BR_REPLACE_STRATEGY_MAP, REPLACE_STRATEGY| Constructor and Description |
|---|
HTMLCorrectorReplaceStrategy() |
| Modifier and Type | Method and Description |
|---|---|
String |
correct(String htmlIn,
String correctionMapFile)
Corrects 'in' string HTML fragment according to replace strategy, and using chosen correction map file.
|
public String correct(String htmlIn, String correctionMapFile)
correct in interface HTMLCorrectorStrategyhtmlIn - HTML fragment for correctioncorrectionMapFile - path to properties file with correction map.Copyright © 2017 SAP SE. All Rights Reserved.