public class PropertiesPropertySource extends MapPropertySource
Properties
SE オブジェクトからプロパティを抽出する PropertySource
実装。Properties
オブジェクトは技術的には <Object, Object>
Hashtable
SE であるため、String
以外のキーまたは値が含まれている可能性があることに注意してください。ただし、この実装は、Properties.getProperty(java.lang.String)
SE および Properties.setProperty(java.lang.String, java.lang.String)
SE と同じ方法で、String
ベースのキーと値にのみアクセスするように制限されています。
PropertySource.StubPropertySource
logger, name, source
修飾子 | コンストラクターと説明 |
---|---|
protected | PropertiesPropertySource(StringSE name, MapSE<StringSE, ObjectSE> source) |
| PropertiesPropertySource(StringSE name, PropertiesSE source) |
修飾子と型 | メソッドと説明 |
---|---|
StringSE[] | getPropertyNames() ソースオブジェクトに含まれるすべてのプロパティの名前を返します( null は決してしないでください)。 |
containsProperty, getProperty
equals, getName, getSource, hashCode, named, toString
cloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public PropertiesPropertySource(StringSE name, PropertiesSE source)
public StringSE[] getPropertyNames()
EnumerablePropertySource
null
は決してしないでください)。MapPropertySource
の getPropertyNames