org.sonatype.gossip.source
Class URLSource
java.lang.Object
org.sonatype.gossip.source.SourceSupport
org.sonatype.gossip.source.URLSource
- All Implemented Interfaces:
- Source
public class URLSource
- extends SourceSupport
URL configuration source.
- Since:
- 1.0
- Author:
- Jason Dillon
URLSource
public URLSource()
setUrl
public void setUrl(URL url)
setUrl
public void setUrl(String location)
throws MalformedURLException
- Throws:
MalformedURLException
getUrl
public URL getUrl()
load
public Model load()
throws Exception
- Description copied from interface:
Source
- Load a configuration model.
- Returns:
- The loaded model.
- Throws:
Exception
- Failed to load the model.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008-2012 Sonatype. All Rights Reserved.