public class FileConfigurationSourceProvider extends Object implements ConfigurationSourceProvider
ConfigurationSourceProvider that reads the configuration from the
local file system.| Constructor and Description |
|---|
FileConfigurationSourceProvider() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
open(String path)
Returns an
InputStream that contains the source of the configuration for the
application. |
public InputStream open(String path) throws IOException
ConfigurationSourceProviderInputStream that contains the source of the configuration for the
application. The caller is responsible for closing the result.open in interface ConfigurationSourceProviderpath - the path to the configurationInputStreamIOException - if there is an error reading the data at pathCopyright © 2016. All rights reserved.