Package graphql.i18n

Class I18nMsg


  • public class I18nMsg
    extends java.lang.Object
    A class that represents the intention to create a I18n message
    • Constructor Summary

      Constructors 
      Constructor Description
      I18nMsg​(java.lang.String msgKey, java.lang.Object... msgArguments)  
      I18nMsg​(java.lang.String msgKey, java.util.List<java.lang.Object> msgArguments)  
    • Constructor Detail

      • I18nMsg

        public I18nMsg​(java.lang.String msgKey,
                       java.util.List<java.lang.Object> msgArguments)
      • I18nMsg

        public I18nMsg​(java.lang.String msgKey,
                       java.lang.Object... msgArguments)
    • Method Detail

      • getMsgKey

        public java.lang.String getMsgKey()
      • getMsgArguments

        public java.lang.Object[] getMsgArguments()
      • addArgumentAt

        public I18nMsg addArgumentAt​(int index,
                                     java.lang.Object argument)
      • toI18n

        public java.lang.String toI18n​(I18n i18n)