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
ConfigurationSourceProvider
InputStream
that contains the source of the configuration for the
application. The caller is responsible for closing the result.open
in interface ConfigurationSourceProvider
path
- the path to the configurationInputStream
IOException
- if there is an error reading the data at path
Copyright © 2011. All rights reserved.