ConfigurationSourceProviderpublic class UrlConfigurationSourceProvider extends java.lang.Object implements ConfigurationSourceProvider
ConfigurationSourceProvider that reads the configuration from a
URL.| Constructor | Description |
|---|---|
UrlConfigurationSourceProvider() |
| Modifier and Type | Method | Description |
|---|---|---|
java.io.InputStream |
open(java.lang.String path) |
Returns an
InputStream that contains the source of the configuration for the
application. |
public java.io.InputStream open(java.lang.String path)
throws java.io.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 configurationInputStreamjava.io.IOException - if there is an error reading the data at pathCopyright © 2018. All rights reserved.