public class UrlSettingsSource extends Object implements SettingsSource
URL as a settings source.| Constructor and Description | 
|---|
UrlSettingsSource(URL settingsUrl)
Creates a new model source backed by the specified URL. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
InputStream | 
getInputStream()
Gets a byte stream to the settings contents. 
 | 
String | 
getLocation()
Provides a user-friendly hint about the location of the settings. 
 | 
URL | 
getSettingsUrl()
Gets the settings URL of this model source. 
 | 
String | 
toString()  | 
public UrlSettingsSource(URL settingsUrl)
settingsUrl - The settings URL, must not be null.public InputStream getInputStream() throws IOException
SettingsSourcegetInputStream in interface SettingsSourcenull.IOExceptionpublic String getLocation()
SettingsSourcegetLocation in interface SettingsSourcenull.public URL getSettingsUrl()
null.Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.