org.sonatype.gossip.source
Class SourceSupport

java.lang.Object
  extended by org.sonatype.gossip.source.SourceSupport
All Implemented Interfaces:
Source
Direct Known Subclasses:
FileSource, HomeDirectorySource, ResourceSource, SystemPropertySource, URLSource

public abstract class SourceSupport
extends Object
implements Source

Support for Source components.

Since:
1.0
Author:
Jason Dillon

Field Summary
protected  org.slf4j.Logger log
           
 
Constructor Summary
SourceSupport()
           
 
Method Summary
protected  Model load(File file)
           
protected  Model load(URL url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.sonatype.gossip.source.Source
load
 

Field Detail

log

protected final org.slf4j.Logger log
Constructor Detail

SourceSupport

public SourceSupport()
Method Detail

load

protected Model load(URL url)
              throws Exception
Throws:
Exception

load

protected Model load(File file)
              throws Exception
Throws:
Exception


Copyright © 2008-2012 Sonatype. All Rights Reserved.