Package org.opencms.i18n
Class A_CmsMessageBundle
java.lang.Object
org.opencms.i18n.A_CmsMessageBundle
- All Implemented Interfaces:
I_CmsMessageBundle
- Direct Known Subclasses:
DefaultReportMessages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
,Messages
Convenience base class to access the localized messages of an OpenCms package.
- Since:
- 6.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates a message container for this package with the given arguments.Creates a message container for this package with the given arguments.Creates a message container for this package with the given arguments.Creates a message container for this package with the given arguments.Creates a message container for this package with the given arguments.Returns the localized message bundle wrapped in this instance initialized with the OpenCms default locale.Returns the localized message bundle wrapped in this instance initialized with the provided locale.static I_CmsMessageBundle[]
Returns an array of all messages bundles used by the OpenCms core.toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opencms.i18n.I_CmsMessageBundle
getBundleName
-
Constructor Details
-
A_CmsMessageBundle
public A_CmsMessageBundle()
-
-
Method Details
-
getOpenCmsMessageBundles
Returns an array of all messages bundles used by the OpenCms core.- Returns:
- an array of all messages bundles used by the OpenCms core
-
container
Description copied from interface:I_CmsMessageBundle
Creates a message container for this package with the given arguments.Convenience method for a message with no arguments.
- Specified by:
container
in interfaceI_CmsMessageBundle
- Parameters:
key
- the message key to use- Returns:
- a message container for this package with the given arguments
- See Also:
-
container
Description copied from interface:I_CmsMessageBundle
Creates a message container for this package with the given arguments.Convenience method for a message with one argument.
- Specified by:
container
in interfaceI_CmsMessageBundle
- Parameters:
key
- the message key to usearg0
- the message argument- Returns:
- a message container for this package with the given arguments
- See Also:
-
container
Description copied from interface:I_CmsMessageBundle
Creates a message container for this package with the given arguments.Convenience method for a message with two arguments.
- Specified by:
container
in interfaceI_CmsMessageBundle
- Parameters:
key
- the message key to usearg0
- the first message argumentarg1
- the second message argument- Returns:
- a message container for this package with the given arguments
- See Also:
-
container
Description copied from interface:I_CmsMessageBundle
Creates a message container for this package with the given arguments.Convenience method for a message with three arguments.
- Specified by:
container
in interfaceI_CmsMessageBundle
- Parameters:
key
- the message key to usearg0
- the first message argumentarg1
- the second message argumentarg2
- the third message argument- Returns:
- a message container for this package with the given arguments
- See Also:
-
container
Description copied from interface:I_CmsMessageBundle
Creates a message container for this package with the given arguments.- Specified by:
container
in interfaceI_CmsMessageBundle
- Parameters:
message
- the message key to useargs
- the message arguments to use- Returns:
- a message container for this package with the given arguments
- See Also:
-
getBundle
Description copied from interface:I_CmsMessageBundle
Returns the localized message bundle wrapped in this instance initialized with the OpenCms default locale.This should be used only for logging and system output, not for generating GUI messages that the user can see. In this case, use
I_CmsMessageBundle.getBundle(Locale)
.- Specified by:
getBundle
in interfaceI_CmsMessageBundle
- Returns:
- the localized message bundle wrapped in this instance initialized with the OpenCms default locale
- See Also:
-
getBundle
Description copied from interface:I_CmsMessageBundle
Returns the localized message bundle wrapped in this instance initialized with the provided locale.- Specified by:
getBundle
in interfaceI_CmsMessageBundle
- Parameters:
locale
- the locale to use- Returns:
- the localized message bundle wrapped in this instance initialized with the provided locale
- See Also:
-
toString
-