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