public class YamlPropertySourceLoader extends ObjectSE implements PropertySourceLoader
PropertySource
にロードする方法。コンストラクターと説明 |
---|
YamlPropertySourceLoader() |
修飾子と型 | メソッドと説明 |
---|---|
StringSE[] | getFileExtensions() ローダーがサポートするファイル拡張子を返します( "." を除く)。 |
ListSE<PropertySource<?>> | load(StringSE name, Resource resource) リソースを 1 つ以上のプロパティソースに読み込みます。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public StringSE[] getFileExtensions()
PropertySourceLoader
PropertySourceLoader
の getFileExtensions
public ListSE<PropertySource<?>> load(StringSE name, Resource resource) throws IOExceptionSE
PropertySourceLoader
PropertySourceLoader
の load
name
- プロパティソースのルート名。複数のドキュメントがロードされる場合、ロードされる各ソースの名前に追加のサフィックスを追加する必要があります。resource
- ロードするリソース IOExceptionSE
- ソースをロードできない場合