public class DefaultPropertySourceFactory extends java.lang.Object implements PropertySourceFactory
PropertySourceFactory
のデフォルトの実装で、すべてのリソースを ResourcePropertySource
にラップします。PropertySourceFactory
, ResourcePropertySource
コンストラクターと説明 |
---|
DefaultPropertySourceFactory() |
修飾子と型 | メソッドと説明 |
---|---|
PropertySource<?> | createPropertySource(java.lang.String name, EncodedResource resource) 指定されたリソースをラップする PropertySource を作成します。 |
public PropertySource<?> createPropertySource(@Nullable java.lang.String name, EncodedResource resource) throws java.io.IOException
PropertySourceFactory
PropertySource
を作成します。PropertySourceFactory
の createPropertySource
name
- プロパティソースの名前 resource
- ラップする(潜在的にエンコードされた)リソース PropertySource
(非 null
)java.io.IOException
- リソースの解決に失敗した場合