Package org.springframework.core.env

Functions

Link copied to clipboard
operator fun PropertyResolver.get(key: String): String?

Extension for PropertyResolver.getProperty providing Array like getter returning a nullable String.

Link copied to clipboard
inline fun <T> PropertyResolver.getProperty(key: String): T?

Extension for PropertyResolver.getProperty providing a getProperty<Foo>(...) variant returning a nullable Foo.

Link copied to clipboard
inline fun <T : Any> PropertyResolver.getRequiredProperty(key: String): T

Extension for PropertyResolver.getRequiredProperty providing a getRequiredProperty<Foo>(...) variant.