| Package | Description |
|---|---|
| net.sf.mmm.util.lang | |
| net.sf.mmm.util.nls.api |
Provides the API for the native language support (NLS).
|
| net.sf.mmm.util.nls.base |
Contains the basis for implementations of the native language support (NLS) API.
|
| net.sf.mmm.util.nls.impl |
Contains the implementation for the native language support (NLS).
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
NlsBundleUtilLangRoot
This interface holds the
internationalized messages for this module. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
NlsBundleWithLookup
|
| Modifier and Type | Method and Description |
|---|---|
<BUNDLE extends NlsBundle> |
NlsBundleFactory.createBundle(Class<BUNDLE> bundleInterface)
This method dynamically creates an instance for the given
bundleInterface. |
| Modifier and Type | Field and Description |
|---|---|
private Class<? extends NlsBundle> |
AbstractNlsBundleFactory.NlsBundleInvocationHandler.bundleInterface |
private Map<Class<? extends NlsBundle>,NlsBundle> |
AbstractNlsBundleFactory.bundleMap |
private Map<Class<? extends NlsBundle>,NlsBundle> |
AbstractNlsBundleFactory.bundleMap |
private Set<Class<? extends NlsBundle>> |
NlsBundleLocatorSpring.BundleClassVisitor.classes |
private Class<? extends NlsBundle> |
NlsBundleDescriptor.nlsBundleInterface
|
| Modifier and Type | Method and Description |
|---|---|
<BUNDLE extends NlsBundle> |
AbstractNlsBundleFactory.createBundle(Class<BUNDLE> bundleInterface) |
private <BUNDLE extends NlsBundle> |
AbstractNlsBundleFactory.createBundleInternal(Class<BUNDLE> bundleInterface) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<Class<? extends NlsBundle>> |
NlsBundleLocatorClasspathScanner.findBundles() |
Iterable<Class<? extends NlsBundle>> |
NlsBundleLocatorReflectionUtil.findBundles() |
Iterable<Class<? extends NlsBundle>> |
NlsBundleLocatorSpring.findBundles() |
Iterable<Class<? extends NlsBundle>> |
NlsBundleLocator.findBundles() |
Iterable<Class<? extends NlsBundle>> |
NlsBundleLocatorDefault.findBundles() |
| Modifier and Type | Method and Description |
|---|---|
protected InvocationHandler |
AbstractNlsBundleFactory.createHandler(Class<? extends NlsBundle> bundleInterface)
This method creates a new
InvocationHandler for the given bundleInterface. |
protected NlsBundleOptions |
AbstractNlsBundleFactory.getBundleOptions(Class<? extends NlsBundle> bundleInterface)
This method gets the
NlsBundleOptions for the given bundleInterface. |
String |
NlsBundleHelper.getQualifiedLocation(Class<? extends NlsBundle> nlsBundleInterface)
This method gets the location of the
ResourceBundle base name for the given NlsBundle
interface. |
ResourceBundle |
NlsBundleHelper.toResourceBundle(Class<? extends NlsBundle> bundleClass)
Converts the given
NlsBundle class to a ResourceBundle. |
| Constructor and Description |
|---|
NlsBundleDescriptor(Class<? extends NlsBundle> nlsBundleInterface)
The constructor.
|
NlsBundleDescriptor(Class<? extends NlsBundle> nlsBundleInterface,
ResourceBundle resourceBundle) |
NlsBundleDescriptor(Class<? extends NlsBundle> nlsBundleInterface,
ResourceBundle resourceBundle,
NlsBundleHelper bundleHelper) |
NlsBundleInvocationHandler(Class<? extends NlsBundle> bundleInterface,
String bundleName,
NlsBundleOptions options)
The constructor.
|
| Modifier and Type | Field and Description |
|---|---|
private Map<Class<? extends NlsBundle>,NlsBundle> |
AbstractNlsBundleFactoryGwt.bundleMap
The map with the generated bundles.
|
private Map<Class<? extends NlsBundle>,NlsBundle> |
AbstractNlsBundleFactoryGwt.bundleMap
The map with the generated bundles.
|
| Modifier and Type | Method and Description |
|---|---|
<BUNDLE extends NlsBundle> |
AbstractNlsBundleFactoryGwt.createBundle(Class<BUNDLE> bundleInterface) |
protected <BUNDLE extends NlsBundle> |
AbstractNlsBundleFactoryGwt.getBundle(Class<BUNDLE> bundleInterface)
This method gets the
NlsBundle for the given bundleInterface from the internal map. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractNlsBundleFactoryGwt.register(Class<? extends NlsBundle> bundleInterface,
NlsBundle bundle)
Registers the given
bundle for the given bundleInterface. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractNlsBundleFactoryGwt.register(Class<? extends NlsBundle> bundleInterface,
NlsBundle bundle)
Registers the given
bundle for the given bundleInterface. |
Copyright © 2001–2019 mmm-Team. All rights reserved.