| Package | Description |
|---|---|
| com.github.fge.msgsimple.bundle |
Main class; property-based bundle provider
|
| com.github.fge.msgsimple.serviceloader |
ServiceLoader support |
| Modifier and Type | Method and Description |
|---|---|
static MessageBundle |
PropertiesBundle.forPath(String resourcePath)
Create a message bundle from a set of property files, using the UTF-8
character set
|
static MessageBundle |
PropertiesBundle.forPath(String resourcePath,
Charset charset,
long duration,
TimeUnit unit)
Create a message bundle from a set of property files, with a defined
charset and expiry time
|
static MessageBundle |
PropertiesBundle.forPath(String resourcePath,
long duration,
TimeUnit timeUnit)
Create a message bundle from a set of property files, using the UTF-8
character set, and an expiry delay
|
MessageBundle |
MessageBundleBuilder.freeze() |
static MessageBundle |
PropertiesBundle.legacyResourceBundle(String resourcePath)
Create a message bundle mimicking a
ResourceBundle |
| Modifier and Type | Method and Description |
|---|---|
MessageBundle |
MessageBundleProvider.getBundle()
Get a message bundle
|
static MessageBundle |
MessageBundleFactory.getBundle(Class<? extends MessageBundleProvider> c)
Get a message bundle for a registered
MessageBundleProvider
implementation |
Copyright © 2013. All Rights Reserved.