public final class MessageProvider
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
MessageProvider.IClassLoaderProvider |
Modifier and Type | Method and Description |
---|---|
static IMessageProvider |
create(java.lang.String resourceBundleName)
Creates a new message provider for a given resource bundle name.
|
static IMessageProvider |
create(java.lang.String resourceBundleName,
java.lang.Class<?> classLoaderProviderClass)
Creates a new message provider for a given resource bundle name and a class that provides the class loader
|
static IMessageProvider |
create(java.lang.String resourceBundleName,
MessageProvider.IClassLoaderProvider classLoaderProvider)
Creates a new message provider for a given resource bundle name and a class loader provider
|
public static IMessageProvider create(java.lang.String resourceBundleName)
resourceBundleName
- The resource bundle name to get the message provider for, never emptypublic static IMessageProvider create(java.lang.String resourceBundleName, java.lang.Class<?> classLoaderProviderClass)
resourceBundleName
- The resource bundle name to get the message provider for, never emptyclassLoaderProvider
- The class that provides the class loader that should be used to load the resource bundle withpublic static IMessageProvider create(java.lang.String resourceBundleName, MessageProvider.IClassLoaderProvider classLoaderProvider)
resourceBundleName
- The resource bundle name to get the message provider for, never emptyclassLoaderProvider
- A provider that provides the class loader that should be used to load the resource bundle
The class loader will be resolved when the resource bundle will be createdSiehe auch Jowidgets Nutzerhandbuch