public interface MessagePlaceholderReplacementStrategy
| Modifier and Type | Method and Description |
|---|---|
String |
replace(String message,
String find,
String replaceWith)
Searches for occurrences of the given
find String in the given message String and replaces it with
the given replaceWith String. |
String replace(String message, String find, String replaceWith)
find String in the given message String and replaces it with
the given replaceWith String. Note: Returns null if no replacement happened!message - the String to search infind - the String to findreplaceWith - the String to replace any found occurrence withfind String wasn't found, i.e. if no replacements
happened.Copyright © 2017 SAP SE. All Rights Reserved.