abstract class SystemPropertyUtils
Helper class for resolving placeholders in texts. Usually applied to file paths.
A text may contain ${...} placeholders, to be resolved as system properties: e.g. ${user.dir}. Default values can be supplied using the ":" separator between key and value.
Author
Juergen Hoeller
Author
Rob Harrop
Author
Dave Syer
Since
1.2.5
See Also
#PLACEHOLDER_PREFIX#PLACEHOLDER_SUFFIXSystem#getProperty(String)
SystemPropertyUtils()
Helper class for resolving placeholders in texts. Usually applied to file paths. A text may contain |
static val PLACEHOLDER_PREFIX: String
Prefix for system property placeholders: "${" |
|
static val PLACEHOLDER_SUFFIX: String
Suffix for system property placeholders: "}" |
|
static val VALUE_SEPARATOR: String
Value separator for system property placeholders: ":" |
open static fun resolvePlaceholders(text: String): String
Resolve open static fun resolvePlaceholders(text: String, ignoreUnresolvablePlaceholders: Boolean): String
Resolve |