类 NacosDataParserHandler
java.lang.Object
com.alibaba.cloud.nacos.parser.NacosDataParserHandler
- 作者:
- zkz
-
方法概要
修饰符和类型方法说明getFileExtension(String name) static NacosDataParserHandlerList<org.springframework.core.env.PropertySource<?>>parseNacosData(String configName, String configValue, String extension) Parsing nacos configuration content.
-
方法详细资料
-
parseNacosData
public List<org.springframework.core.env.PropertySource<?>> parseNacosData(String configName, String configValue, String extension) throws IOException Parsing nacos configuration content.- 参数:
configName- name of nacos-configconfigValue- value from nacos-configextension- identifies the type of configValue- 返回:
- result of Map
- 抛出:
IOException- thrown if there is a problem parsing config.
-
getFileExtension
- 参数:
name- filename- 返回:
- file extension, default
DEFAULT_EXTENSIONif don't get
-
getInstance
-