Class Formatter

java.lang.Object
com.whatsapp.api.exception.utils.Formatter

@Deprecated(forRemoval=true) public class Formatter extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
use Formatter instead
custom text formatter
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    bold(String text)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Bold string.
    static String
    code(String text)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Code string.
    static String
    italic(String text)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Italic string.
    static String
    Deprecated, for removal: This API element is subject to removal in a future version.
    Strikethrough string.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Formatter

      public Formatter()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • italic

      public static String italic(String text)
      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

      public static String bold(String text)
      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

      public static String strikethrough(String text)
      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

      public static String code(String text)
      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"