Index
All Classes and Interfaces|All Packages
D
- de.clickism.configured.localization - package de.clickism.configured.localization
- deploySingleResource(Class<?>, String, String) - Method in class de.clickism.configured.localization.Localization
-
Deploys a single resource from the specified class's resources to a given destination path.
F
- fallbackLanguage() - Method in class de.clickism.configured.localization.Localization
-
Gets the fallback language code.
- fallbackLanguage(String) - Method in class de.clickism.configured.localization.Localization
-
Sets the fallback language to use.
G
- get(LocalizationKey, Object...) - Method in class de.clickism.configured.localization.Localization
-
Retrieves a localized string for the given key with the specified parameters.
- getParameters(LocalizationKey) - Static method in class de.clickism.configured.localization.ParameterRegistry
-
Gets the parameters associated with a given localization key.
K
- key() - Method in interface de.clickism.configured.localization.LocalizationKey
-
Returns the key for this localization.
L
- language() - Method in class de.clickism.configured.localization.Localization
-
Gets the language code currently set for localization.
- language(String) - Method in class de.clickism.configured.localization.Localization
-
Sets the language to use for localization.
- load() - Method in class de.clickism.configured.localization.Localization
-
Loads the localization files (config) based on the configured language and fallback language.
- Localization - Class in de.clickism.configured.localization
-
Localization class for managing localized messages.
- Localization(Function<String, File>, ConfigFormat) - Constructor for class de.clickism.configured.localization.Localization
-
Creates a new Localization instance with the specified format and file generator.
- LocalizationKey - Interface in de.clickism.configured.localization
-
Represents a localization key used for retrieving localized messages.
O
- of(String) - Static method in interface de.clickism.configured.localization.LocalizationKey
-
Creates a new LocalizationKey with the specified key.
- of(String, String...) - Static method in interface de.clickism.configured.localization.LocalizationKey
-
Creates a new LocalizationKey with the specified key and parameters.
- of(Function<String, String>) - Static method in class de.clickism.configured.localization.Localization
-
Creates a new Localization instance with the given path generator function.
- of(Function<String, String>, ConfigFormat) - Static method in class de.clickism.configured.localization.Localization
-
Creates a new Localization instance with the given path generator function and format.
P
- parameterFormat() - Method in class de.clickism.configured.localization.Localization
-
Retrieves the current parameter format used for placeholders in localized strings.
- parameterFormat(String) - Method in class de.clickism.configured.localization.Localization
-
Sets the format for parameter placeholders in localized strings.
- ParameterRegistry - Class in de.clickism.configured.localization
-
Class used to access parameters defined with the
Parametersannotation. - parameters() - Method in interface de.clickism.configured.localization.LocalizationKey
-
Returns the parameters associated with this localization key.
- Parameters - Annotation Interface in de.clickism.configured.localization
-
Annotation to add parameters to an enum constant that implements
LocalizationKey.
R
- registerKey(LocalizationKey) - Method in class de.clickism.configured.localization.Localization
-
Registers a single localization key.
- registerKeysFor(Class<T>) - Method in class de.clickism.configured.localization.Localization
-
Registers all keys from the given enum class that implements
LocalizationKey. - resourceProvider(Class<?>, Function<String, String>) - Method in class de.clickism.configured.localization.Localization
-
Sets the resource provider from which localization files can be deployed.
U
- updateWithNewKeys(boolean) - Method in class de.clickism.configured.localization.Localization
-
Sets whether to update the localization files with new keys.
V
- value() - Element in annotation interface de.clickism.configured.localization.Parameters
-
The parameters associated with the localization key.
- version() - Method in class de.clickism.configured.localization.Localization
-
Gets the version of the localization.
- version(int) - Method in class de.clickism.configured.localization.Localization
-
Sets the version of the localization.
All Classes and Interfaces|All Packages