public class StringSourceProvider extends SingleIncludeNonRelativeSourceProvider
| Constructor and Description | 
|---|
StringSourceProvider()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addSource(String fileName,
         String sourceCode)
Add a new source to the set of available sources. 
 | 
Reader | 
getSource(String sourceName)
 
 This implementation returns a  
GenericReader. | 
getKeyName, getKeyName, getSourceget, get, getSingleInclude, setSingleIncludepublic void addSource(String fileName, String sourceCode)
fileName - the name of the source. This name can be used in include
            statements in other BASIC sources and also this can be used to
            get the reader from the provider.sourceCode - The actual code of the source program.public Reader getSource(String sourceName) throws IOException
GenericReader.getSource in class SingleIncludeNonRelativeSourceProviderIOExceptionCopyright © 2013 Verhas and Verhas Software Craftsmen. All Rights Reserved.