public static interface PropertyPlaceholder.PlaceholderResolver
PropertyPlaceholder| 限定符和类型 | 方法和说明 |
|---|---|
Optional<String> |
resolvePlaceholder(String placeholderName)
Resolves the supplied placeholder name into the replacement value.
|
boolean |
shouldIgnoreMissing(String placeholderName) |
boolean |
shouldRemoveMissingPlaceholder(String placeholderName)
Allows for special handling for ignored missing placeholders that may be resolved elsewhere.
|
Optional<String> resolvePlaceholder(String placeholderName)
placeholderName - the name of the placeholder to resolve.null if no replacement is to be made.boolean shouldIgnoreMissing(String placeholderName)
boolean shouldRemoveMissingPlaceholder(String placeholderName)
placeholderName - the name of the placeholder to resolve.Copyright © 2021. All rights reserved.