public class URLSource extends SourceSupport
log
Constructor and Description |
---|
URLSource() |
Modifier and Type | Method and Description |
---|---|
URL |
getUrl() |
Model |
load()
Load a configuration model.
|
void |
setUrl(String location) |
void |
setUrl(URL url) |
String |
toString() |
load, load
public void setUrl(URL url)
public void setUrl(String location) throws MalformedURLException
MalformedURLException
public URL getUrl()
public Model load() throws Exception
Source
Exception
- Failed to load the model.Copyright © 2008–2017 Sonatype. All rights reserved.