public abstract class SingleIncludeSourcePathNonRelativeSourceProvider extends AbstractSingleIncludeSourcePathSourceProvider
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 |
|---|
SingleIncludeSourcePathNonRelativeSourceProvider() |
| 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, setSingleIncludegetSourcePath, setSourcePathpublic SingleIncludeSourcePathNonRelativeSourceProvider()
protected abstract Reader getSource(String sourceName) throws IOException
getSource in class AbstractSingleIncludeSourcePathSourceProviderIOExceptionprotected Reader getSource(String sourceName, String referencingSource) throws IOException
getSource in class AbstractSingleIncludeSourcePathSourceProviderIOExceptionprotected String getKeyName(String sourceName)
getKeyName in class AbstractSingleIncludeSourcePathSourceProviderprotected String getKeyName(String sourceName, String referencingSource)
getKeyName in class AbstractSingleIncludeSourcePathSourceProviderCopyright © 2013 Verhas and Verhas Software Craftsmen. All Rights Reserved.