public interface PropertySourceLoaderSpringFactoriesLoader を介して配置され、PropertySource のロードに使用される戦略インターフェース。| 修飾子と型 | メソッドと説明 |
|---|---|
StringSE[] | getFileExtensions() ローダーがサポートするファイル拡張子を返します( "." を除く)。 |
ListSE<PropertySource<?>> | load(StringSE name, Resource resource) リソースを 1 つ以上のプロパティソースに読み込みます。 |
StringSE[] getFileExtensions()
ListSE<PropertySource<?>> load(StringSE name, Resource resource) throws IOExceptionSE
name - プロパティソースのルート名。複数のドキュメントがロードされる場合、ロードされる各ソースの名前に追加のサフィックスを追加する必要があります。resource - ロードするリソース IOExceptionSE - ソースをロードできない場合 Copyright © 2019 Pivotal Software, Inc.. All rights reserved.