public interface ResourcebundleService extends de.alpharogroup.service.domain.DomainService<Integer,Resourcebundle>
ResourcebundleService.| Modifier and Type | Method and Description |
|---|---|
Resourcebundle |
contains(String baseName,
Locale locale,
String key)
Checks if a resource exists with the given parameters.
|
Resourcebundle |
find(String baseName,
Locale locale,
String key)
Gets the entry from the given parameters.
|
Resourcebundle |
find(String baseName,
String locale,
String key)
Gets the entry from the given parameters.
|
List<Resourcebundle> |
find(String baseName,
String locale,
String key,
String value)
Finds all entries from the given parameters that can be null if it shell be ignored.
|
List<Resourcebundle> |
findResourceBundles(String baseName,
Locale locale)
Find resource bundles from the given parameters.
|
Properties |
getProperties(String baseName,
Locale locale)
Get the
Properties object from the given baseName and the given Locale
object. |
Properties |
getProperties(String baseName,
String locale)
Get the
Properties object from the given baseName and the given locale code as
String object. |
Resourcebundle |
getResourcebundle(String baseName,
Locale locale,
String key)
Gets the entry from the given parameters.
|
String |
getString(de.alpharogroup.resourcebundle.locale.BundleKey bundleKey)
Gets the resource
String from the given BundleKey. |
String |
getString(String baseName,
String locale,
String key)
Gets the resource
String from the given arguments. |
String |
getString(String baseName,
String locale,
String key,
Object[] params)
Gets the resource
String from the given arguments. |
String |
getString(String baseName,
String locale,
String key,
String defaultValue)
Gets the resource
String from the given arguments. |
String |
getString(String baseName,
String locale,
String key,
String defaultValue,
Object[] params)
Gets the resource
String from the given arguments. |
void |
updateProperties(Properties properties,
String baseName,
Locale locale)
Update the given properties to the db.
|
void |
updateProperties(Properties properties,
String baseName,
Locale locale,
boolean update)
Update the given properties to the db.
|
Resourcebundle contains(String baseName, Locale locale, String key)
baseName - the base namelocale - the localekey - the keyResourcebundle or null if it does not exists.Resourcebundle find(String baseName, Locale locale, String key)
baseName - the base namelocale - the localekey - the keyResourcebundle find(String baseName, String locale, String key)
baseName - the base namelocale - the localekey - the keyList<Resourcebundle> find(String baseName, String locale, String key, String value)
baseName - the base namelocale - the localekey - the keyvalue - the valueList<Resourcebundle> findResourceBundles(String baseName, Locale locale)
baseName - the base namelocale - the localeProperties getProperties(String baseName, Locale locale)
Properties object from the given baseName and the given Locale
object.baseName - the base namelocale - the localeProperties object.Properties getProperties(String baseName, String locale)
Properties object from the given baseName and the given locale code as
String object.baseName - the base namelocale - the localeProperties object.Resourcebundle getResourcebundle(String baseName, Locale locale, String key)
baseName - the base namelocale - the localekey - the keyString getString(de.alpharogroup.resourcebundle.locale.BundleKey bundleKey)
String from the given BundleKey.bundleKey - the bundle keyStringString getString(String baseName, String locale, String key)
String from the given arguments.baseName - the base namelocale - the localekey - the keyStringString getString(String baseName, String locale, String key, Object[] params)
String from the given arguments.baseName - the base namelocale - the localekey - the keyparams - the parametersStringString getString(String baseName, String locale, String key, String defaultValue)
String from the given arguments.baseName - the base namelocale - the localekey - the keydefaultValue - the default valueStringString getString(String baseName, String locale, String key, String defaultValue, Object[] params)
String from the given arguments.baseName - the base namelocale - the localekey - the keydefaultValue - the default valueparams - the parametersStringvoid updateProperties(Properties properties, String baseName, Locale locale)
properties - the propertiesbaseName - the base namelocale - the localevoid updateProperties(Properties properties, String baseName, Locale locale, boolean update)
properties - the propertiesbaseName - the base namelocale - the localeupdate - flag that indicates if an existing property shell be updatedCopyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.