T - the generic type of formatterpublic interface MessengerTypeFormatter<T>
| Modifier and Type | Method and Description |
|---|---|
Class<T> |
getType()
Type of formatter
|
MessengerTypeFormatter<T> |
register(String placeholder,
FormatterFunction<T> replacementFunction)
Register a new placeholder
|
MessengerTypeFormatter<T> register(String placeholder, FormatterFunction<T> replacementFunction)
placeholder - the name of placeholderreplacementFunction - the value to replace withCopyright © 2020. All rights reserved.