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 anInputStream
that contains the source of the configuration for the application.
-
Method Details
-
open
Returns anInputStream
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 atpath
-