Class PropertySourceUtils

java.lang.Object
spring.turbo.module.configuration.util.PropertySourceUtils

public final class PropertySourceUtils extends Object
Since:
2.2.1
Author:
应卓
  • Method Details

    • loadPropertiesFormat

      @Nullable public static org.springframework.core.env.PropertySource<?> loadPropertiesFormat(@Nullable org.springframework.core.io.Resource resource, String propertySourceName)
    • loadYamlFormat

      @Nullable public static org.springframework.core.env.PropertySource<?> loadYamlFormat(@Nullable org.springframework.core.io.Resource resource, String propertySourceName)
    • loadHoconFormat

      @Nullable public static org.springframework.core.env.PropertySource<?> loadHoconFormat(@Nullable org.springframework.core.io.Resource resource, String propertySourceName)