Package com.scriptbasic.sourceproviders
Class FileSourceProvider
- All Implemented Interfaces:
SourcePathProvider,SourceProvider
A source provider that reads the sources from files. This provider includes a
file only once and does not support relative file name 'include'. Also this
implementation uses the
SourcePath to find a file.- Author:
- Peter Verhas
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.scriptbasic.sourceproviders.SingleIncludeSourcePathNonRelativeSourceProvider
getKeyName, getKeyName, getSourceMethods inherited from class com.scriptbasic.sourceproviders.AbstractSingleIncludeSourcePathSourceProvider
get, get, getSingleInclude, setSingleIncludeMethods inherited from class com.scriptbasic.sourceproviders.AbstractSourcePathSourceProvider
getSourcePath, setSourcePath
-
Constructor Details
-
FileSourceProvider
public FileSourceProvider()
-
-
Method Details
-
getSource
- Specified by:
getSourcein classSingleIncludeSourcePathNonRelativeSourceProvider- Throws:
IOException
-