Package org.glassfish.tyrus.core.l10n
Class LocalizableMessage
java.lang.Object
org.glassfish.tyrus.core.l10n.LocalizableMessage
- All Implemented Interfaces:
Localizable
- Author:
- WS Development Team
-
Field Summary
Fields inherited from interface org.glassfish.tyrus.core.l10n.Localizable
NOT_LOCALIZABLE -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LocalizableMessage
-
-
Method Details
-
getKey
Description copied from interface:LocalizableGets the key in the resource bundle.- Specified by:
getKeyin interfaceLocalizable- Returns:
- if this method returns
Localizable.NOT_LOCALIZABLE, that means the message is not localizable, and the first item ofLocalizable.getArguments()array holds aString.
-
getArguments
Description copied from interface:LocalizableReturns the arguments for message formatting.- Specified by:
getArgumentsin interfaceLocalizable- Returns:
- can be an array of length 0 but never be
null.
-
getResourceBundleName
Description copied from interface:LocalizableGet the name of the localization messages resource bundle.- Specified by:
getResourceBundleNamein interfaceLocalizable- Returns:
- the localization messages resource bundle name.
-