Class ResourceBundleFactory
- java.lang.Object
-
- io.gitlab.rychly.gphotos_uploader.i18n.ResourceBundleFactory
-
public final class ResourceBundleFactory extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResourceBundleFactory.ResourceEncodingControl
-
Field Summary
Fields Modifier and Type Field Description static java.util.Locale
DEFAULT_LOCALE
static java.util.Locale
FALLBACK_LOCALE
static java.lang.String
MESSAGES_RESOURCE_BUNDLE_NAME
static java.lang.String
RESOURCE_ENCODING
static java.lang.String
RESOURCE_SUFFIX
-
Constructor Summary
Constructors Constructor Description ResourceBundleFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Locale
getMessagesLocale()
static java.util.ResourceBundle
getMessagesResourceBundle()
static java.lang.String
msg(java.lang.String key, java.lang.Object... args)
-
-
-
Field Detail
-
MESSAGES_RESOURCE_BUNDLE_NAME
public static final java.lang.String MESSAGES_RESOURCE_BUNDLE_NAME
- See Also:
- Constant Field Values
-
DEFAULT_LOCALE
public static final java.util.Locale DEFAULT_LOCALE
-
FALLBACK_LOCALE
public static final java.util.Locale FALLBACK_LOCALE
-
RESOURCE_ENCODING
public static final java.lang.String RESOURCE_ENCODING
- See Also:
- Constant Field Values
-
RESOURCE_SUFFIX
public static final java.lang.String RESOURCE_SUFFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMessagesLocale
@Contract(pure=true) public static java.util.Locale getMessagesLocale()
-
getMessagesResourceBundle
@Contract(pure=true) public static java.util.ResourceBundle getMessagesResourceBundle()
-
msg
public static java.lang.String msg(java.lang.String key, java.lang.Object... args)
-
-