Class PatternMessage

  • All Implemented Interfaces:
    I18n, Message

    public class PatternMessage
    extends java.lang.Object
    implements Message
    provide api to get pattern data from remote or locale
    • Constructor Summary

      Constructors 
      Constructor Description
      PatternMessage()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.json.simple.JSONObject getPatternMessage​(java.lang.String language, java.lang.String region)
      get whole pattern data for formatting
      org.json.simple.JSONObject getPatternMessage​(java.util.Locale locale)
      get whole pattern data for formatting
      • Methods inherited from class java.lang.Object

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

      • PatternMessage

        public PatternMessage()
    • Method Detail

      • getPatternMessage

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

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