Class ParameterRegistry
java.lang.Object
de.clickism.configured.localization.ParameterRegistry
Class used to access parameters defined with the
Parameters annotation.-
Method Summary
Modifier and TypeMethodDescriptionstatic String[]Gets the parameters associated with a given localization key.
-
Method Details
-
getParameters
Gets the parameters associated with a given localization key.This method will register/cache all fields annotated with the
Parametersannotation in the parent class of the given key.- Parameters:
key- the localization key for which to retrieve parameters- Returns:
- an array of parameters associated with the key
-