Class PatternMessage

  • All Implemented Interfaces:
    I18n, Message

    public class PatternMessage
    extends Object
    implements Message
    provide api to get pattern data from remote or locale
    • Constructor Detail

      • PatternMessage

        public PatternMessage()
    • Method Detail

      • getPatternMessage

        public org.json.JSONObject getPatternMessage​(Locale locale)
        get whole pattern data for formatting
        Parameters:
        locale -
        Returns:
      • getPatternMessage

        public org.json.JSONObject getPatternMessage​(String language,
                                                     String region)
        get whole pattern data for formatting
        Parameters:
        locale -
        Returns: