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