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, setSingleInclude
getSourcePath, setSourcePath
public SingleIncludeSourcePathNonRelativeSourceProvider()
protected abstract Reader getSource(String sourceName) throws IOException
getSource
in class AbstractSingleIncludeSourcePathSourceProvider
IOException
protected Reader getSource(String sourceName, String referencingSource) throws IOException
getSource
in class AbstractSingleIncludeSourcePathSourceProvider
IOException
protected String getKeyName(String sourceName)
getKeyName
in class AbstractSingleIncludeSourcePathSourceProvider
protected String getKeyName(String sourceName, String referencingSource)
getKeyName
in class AbstractSingleIncludeSourcePathSourceProvider
Copyright © 2013 Verhas and Verhas Software Craftsmen. All Rights Reserved.