クラス PropertiesPropertySource
java.lang.ObjectSE
org.springframework.core.env.PropertySource<MapSE<StringSE,ObjectSE>>
org.springframework.core.env.EnumerablePropertySource<MapSE<StringSE,ObjectSE>>
org.springframework.core.env.MapPropertySource
org.springframework.core.env.PropertiesPropertySource
- 既知の直属サブクラス
MockPropertySource, ResourcePropertySource
PropertiesSE オブジェクトからプロパティを抽出する PropertySource 実装。Properties オブジェクトは技術的には <Object, Object> HashtableSE であるため、String 以外のキーまたは値が含まれている可能性があることに注意してください。ただし、この実装は、Properties.getProperty(String)SE および Properties.setProperty(String, String)SE と同じ方法で、String ベースのキーと値にのみアクセスするように制限されています。
- 導入:
- 3.1
- 作成者:
- Chris Beams, Juergen Hoeller
ネストされたクラスの要約
クラス PropertySource から継承されたネストクラス / インターフェース
PropertySource.StubPropertySourceフィールドのサマリー
クラス PropertySource から継承されたフィールド
logger, name, sourceコンストラクターの概要
コンストラクター修飾子コンストラクター説明protectedPropertiesPropertySource(StringSE name, MapSE<StringSE, ObjectSE> source) PropertiesPropertySource(StringSE name, PropertiesSE source) 方法の概要
クラス MapPropertySource から継承されたメソッド
containsProperty, getProperty
コンストラクターの詳細
PropertiesPropertySource
PropertiesPropertySource
メソッドの詳細
getPropertyNames
クラスからコピーされた説明:EnumerablePropertySourceソースオブジェクトに含まれるすべてのプロパティの名前を返します(nullは決してしないでください)。- オーバーライド:
- クラス
MapPropertySourceのgetPropertyNames