Package de.xima.fc.asset.ms.impl.mgmt
Class AssetMsImplLocalizer
- java.lang.Object
-
- de.xima.fc.asset.ms.impl.mgmt.AssetMsImplLocalizer
-
public final class AssetMsImplLocalizer extends Object
- Since:
- 8.6.0
- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
Fields Modifier and Type Field Description static IMessageLocalizerLOCALIZERThe localizer for this module.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ISerializableFunction<Locale,String>boundMessageKey(String key, Object... params)Binds a key (and optional parameters) to a function that returns the localization for a given locale.
-
-
-
Field Detail
-
LOCALIZER
public static final IMessageLocalizer LOCALIZER
The localizer for this module.
-
-
Method Detail
-
boundMessageKey
public static ISerializableFunction<Locale,String> boundMessageKey(String key, Object... params)
Binds a key (and optional parameters) to a function that returns the localization for a given locale.- Parameters:
key- The localization keyparams- The parameters for the localization- Returns:
- A function that is bound to the given key and params, and takes a locale and returns the localized string.
-
-