public class UrlConfigurationSourceProvider extends Object implements ConfigurationSourceProvider
ConfigurationSourceProvider that reads the configuration from a
URL.| Constructor and Description |
|---|
UrlConfigurationSourceProvider() |
| 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 © 2017. All rights reserved.