Package io.dropwizard.configuration
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 TypeMethodDescriptionReturns anInputStreamthat contains the source of the configuration for the application.
-
Method Details
-
open
Returns anInputStreamthat 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 atpath
-