| 程序包 | 说明 |
|---|---|
| org.springframework.core.io.support |
Support classes for Spring's resource abstraction.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ResourcePropertySource |
ResourcePropertySource.withName(String name)
Return a potentially adapted variant of this
ResourcePropertySource,
overriding the previously given (or derived) name with the specified name. |
ResourcePropertySource |
ResourcePropertySource.withResourceName()
Return a potentially adapted variant of this
ResourcePropertySource,
overriding the previously given name (if any) with the original resource name
(equivalent to the name generated by the name-less constructor variants). |