Interface ConfigurationSourceProvider

All Known Implementing Classes:
FileConfigurationSourceProvider, ResourceConfigurationSourceProvider, SubstitutingSourceProvider, UrlConfigurationSourceProvider

public interface ConfigurationSourceProvider
An interface for objects that can create an InputStream to represent the application configuration.
  • Method Summary

    Modifier and Type
    Method
    Description
    open(String path)
    Returns an InputStream that contains the source of the configuration for the application.
  • Method Details

    • open

      InputStream open(String path) throws IOException
      Returns an InputStream that contains the source of the configuration for the application. The caller is responsible for closing the result.
      Parameters:
      path - the path to the configuration
      Returns:
      an InputStream
      Throws:
      IOException - if there is an error reading the data at path