Class ScanSourceLoader
java.lang.Object
org.eluder.coveralls.maven.plugin.source.AbstractSourceLoader
org.eluder.coveralls.maven.plugin.source.ScanSourceLoader
- All Implemented Interfaces:
SourceLoader
The Class ScanSourceLoader.
-
Constructor Summary
ConstructorsConstructorDescriptionScanSourceLoader(File base, File sourceDirectory, Charset sourceEncoding) Instantiates a new scan source loader. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetFileName(String sourceFile) Gets the file name.protected InputStreamLocate.Methods inherited from class AbstractSourceLoader
getSourceEncoding, load
-
Constructor Details
-
ScanSourceLoader
-
-
Method Details
-
locate
Description copied from class:AbstractSourceLoaderLocate.- Specified by:
locatein classAbstractSourceLoader- Parameters:
sourceFile- the source file- Returns:
- the input stream
- Throws:
IOException- Signals that an I/O exception has occurred.
-
getFileName
Description copied from class:AbstractSourceLoaderGets the file name.- Overrides:
getFileNamein classAbstractSourceLoader- Parameters:
sourceFile- the source file- Returns:
- the file name
-