Class FieldReplacementFormatter
java.lang.Object
fr.opensagres.xdocreport.template.formatter.FieldReplacementFormatter
- All Implemented Interfaces:
ICustomFormatter
Custom replacement of merge/input field which is done while preprocessing step.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMapping(String search, String replacement) format(String content, IDocumentFormatter formatter) returns the result of the format of teh given content coming from input/merge field.
-
Constructor Details
-
FieldReplacementFormatter
public FieldReplacementFormatter()
-
-
Method Details
-
format
Description copied from interface:ICustomFormatterreturns the result of the format of teh given content coming from input/merge field.- Specified by:
formatin interfaceICustomFormatter- Returns:
-
addMapping
-