public abstract class AbstractSourceProvider extends Object implements SourceProvider
Constructor and Description |
---|
AbstractSourceProvider() |
Modifier and Type | Method and Description |
---|---|
abstract Reader |
get(String sourceName)
Get a reader to a source when there is no referencing source.
|
abstract Reader |
get(String sourceName,
String referencingSource)
Get a reader to a source specifying the source that references this
source.
|
public abstract Reader get(String sourceName) throws IOException
SourceProvider
get
in interface SourceProvider
sourceName
- the name of the sourceIOException
public abstract Reader get(String sourceName, String referencingSource) throws IOException
SourceProvider
get
in interface SourceProvider
sourceName
- the name of the source to get the reader to.referencingSource
- the name of the source that is referencing the source to read.IOException
Copyright © 2013 Verhas and Verhas Software Craftsmen. All Rights Reserved.