类 NacosDataParserHandler

java.lang.Object
com.alibaba.cloud.nacos.parser.NacosDataParserHandler

public final class NacosDataParserHandler extends Object
作者:
zkz
  • 方法详细资料

    • 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-config
      configValue - value from nacos-config
      extension - identifies the type of configValue
      返回:
      result of Map
      抛出:
      IOException - thrown if there is a problem parsing config.
    • getFileExtension

      public String getFileExtension(String name)
      参数:
      name - filename
      返回:
      file extension, default DEFAULT_EXTENSION if don't get
    • getInstance

      public static NacosDataParserHandler getInstance()