类的使用
org.springframework.core.env.PropertiesPropertySource
使用PropertiesPropertySource的程序包 程序包 说明 org.springframework.core.io.support Support classes for Spring's resource abstraction.org.springframework.mock.env This package contains mock implementations of theEnvironment
andPropertySource
abstractions introduced in Spring 3.1.org.springframework.core.io.support中PropertiesPropertySource的使用
org.springframework.core.io.support中PropertiesPropertySource的子类 修饰符和类型 类 说明 class
ResourcePropertySource
Subclass ofPropertiesPropertySource
that loads aProperties
object from a givenResource
or resource location such as"classpath:/com/myco/foo.properties"
or"file:/path/to/file.xml"
.org.springframework.mock.env中PropertiesPropertySource的使用
org.springframework.mock.env中PropertiesPropertySource的子类 修饰符和类型 类 说明 class
MockPropertySource
SimplePropertySource
implementation for use in testing.