Class FormatUtils

java.lang.Object
com.vmware.vipclient.i18n.util.FormatUtils

public class FormatUtils extends Object
  • Method Details

    • format

      public static String format(String pattern, Object... arguments)
      format a string with placeholder by the input arguments
      Parameters:
      pattern - a string contains placeholder
      arguments - used to format the pattern string
      Returns:
      a formatted string
    • formatMsg

      public static String formatMsg(String pattern, Locale locale, Object argument)
    • format

      public static String format(String pattern, Locale locale, Object... arguments)