public abstract class SingleIncludeNonRelativeSourceProvider extends AbstractSingleIncludeSourceProvider
The NonRelative source providers fall back to the functionality of
the single parameter method get() from the version that also
specifies the name of the file where the include statement is. In other words
for such source provider it is indifferent which file includes the included
file. Still in other words it is not possible to include a source using
relative source (file) name.
| Constructor and Description |
|---|
SingleIncludeNonRelativeSourceProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getKeyName(String sourceName) |
protected String |
getKeyName(String sourceName,
String referencingSource) |
protected abstract Reader |
getSource(String sourceName) |
protected Reader |
getSource(String sourceName,
String referencingSource) |
get, get, getSingleInclude, setSingleIncludepublic SingleIncludeNonRelativeSourceProvider()
protected abstract Reader getSource(String sourceName) throws IOException
getSource in class AbstractSingleIncludeSourceProviderIOExceptionprotected Reader getSource(String sourceName, String referencingSource) throws IOException
getSource in class AbstractSingleIncludeSourceProviderIOExceptionprotected String getKeyName(String sourceName)
getKeyName in class AbstractSingleIncludeSourceProviderprotected String getKeyName(String sourceName, String referencingSource)
getKeyName in class AbstractSingleIncludeSourceProviderCopyright © 2013 Verhas and Verhas Software Craftsmen. All Rights Reserved.