public class LocalisationResolver extends <any> implements Localiser
Note the order in which to apply wrappers for localisation! They need to be
applied before the system data consumer (
de.aristaflow.adept2.core.executionmanager.defaultimplementation.ParameterRefResolver
)!
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PLUGIN_LOCALISED
The plug-in ID for localisations.
|
| Constructor and Description |
|---|
LocalisationResolver(PluginDataContainer target,
java.util.Locale locale)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Locale |
getLocale()
Gets the
Locale that should be used or that is used for localisation of this
object or a related object. |
<any> |
invokeSpecific(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args) |
public static final java.lang.String PLUGIN_LOCALISED
public LocalisationResolver(PluginDataContainer target, java.util.Locale locale)
target - The target object, containing translation data in the
plug-in data.locale - The target locale.public <any> invokeSpecific(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
java.lang.Throwablepublic java.util.Locale getLocale()
LocaliserLocale that should be used or that is used for localisation of this
object or a related object.