Package com.whatsapp.api.exception.utils
Class Formatter
java.lang.Object
com.whatsapp.api.exception.utils.Formatter
Deprecated, for removal: This API element is subject to removal in a future version.
custom text formatter
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic String
Deprecated, for removal: This API element is subject to removal in a future version.Bold string.static String
Deprecated, for removal: This API element is subject to removal in a future version.Code string.static String
Deprecated, for removal: This API element is subject to removal in a future version.Italic string.static String
strikethrough
(String text) Deprecated, for removal: This API element is subject to removal in a future version.Strikethrough string.
-
Constructor Details
-
Formatter
public Formatter()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
italic
Deprecated, for removal: This API element is subject to removal in a future version.Italic string.- Parameters:
text
- String- Returns:
- text formatted in italic. Example: "italic text"
-
bold
Deprecated, for removal: This API element is subject to removal in a future version.Bold string.- Parameters:
text
- String- Returns:
- bold formatted text. Example: "bold text"
-
strikethrough
Deprecated, for removal: This API element is subject to removal in a future version.Strikethrough string.- Parameters:
text
- String- Returns:
- strikethrough text. Example:
"strikethrough text"
-
code
Deprecated, for removal: This API element is subject to removal in a future version.Code string.- Parameters:
text
- String- Returns:
- text formatted as code. Example:
"code text"
-
Formatter
instead