public interface PropertyPlaceholderResolver
| Modifier and Type | Method and Description | 
|---|---|
| default String | getPrefix() | 
| Optional<String> | resolvePlaceholders(String str)Resolve the placeholders and return an Optional String if it was possible to resolve them. | 
| default <T> T | resolveRequiredPlaceholder(String str,
                          Class<T> type)Resolves the value of a single placeholder. | 
| default String | resolveRequiredPlaceholders(String str)Resolve the placeholders and return an Optional String if it was possible to resolve them. | 
Optional<String> resolvePlaceholders(String str)
str - The placeholder to resolveOptional.empty() if resolution was not possible@NonNull default String resolveRequiredPlaceholders(String str) throws ConfigurationException
str - The placeholder to resolveOptional.empty() if resolution was not possibleConfigurationException - If the placeholders could not be resolved@NonNull default <T> T resolveRequiredPlaceholder(String str, Class<T> type) throws ConfigurationException
T - The type the value should be converted tostr - The string containing the placeholdertype - The class of the typeConfigurationException - If multiple placeholders are found or
 if the placeholder could not be converted to the requested type