Class PropertySourceUtils

java.lang.Object
org.springframework.cloud.kubernetes.commons.config.PropertySourceUtils

public final class PropertySourceUtils extends Object
Utility class to work with property sources.
Author:
Georgios Andrianakis, Michael Moudatsos
  • Field Details

  • Method Details

    • yamlParserGenerator

      public static Function<String, Map<String,Object>> yamlParserGenerator(org.springframework.core.env.Environment environment)
      Function to convert String into Properties with an environment.
      Parameters:
      environment - Environment.
      Returns:
      properties.