Package graphql.i18n
Class I18n
java.lang.Object
graphql.i18n.I18n
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
This enum is a type safe way to control what resource bundle to load from -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic I18n
i18n
(I18n.BundleType bundleType, Locale locale) Creates an I18N message using the key and argumentsCreates an I18N message using the key and arguments
-
Constructor Details
-
I18n
-
-
Method Details
-
getLocale
-
getResourceBundle
-
i18n
-
msg
Creates an I18N message using the key and arguments- Parameters:
msgKey
- the key in the underlying message bundlemsgArgs
- the message arguments- Returns:
- the formatted I18N message
-
msg
Creates an I18N message using the key and arguments- Parameters:
msgKey
- the key in the underlying message bundlemsgArgs
- the message arguments- Returns:
- the formatted I18N message
-