Package com.github.euler.file
Class FileSource
- java.lang.Object
-
- com.github.euler.core.AbstractPausableSource
-
- com.github.euler.file.FileSource
-
- All Implemented Interfaces:
PausableSource,Source
public class FileSource extends AbstractPausableSource
-
-
Constructor Summary
Constructors Constructor Description FileSource()FileSource(int maxItemsPerYield)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandoScan(SourceListener listener)voidfinishScan()voidprepareScan(URI uri)-
Methods inherited from class com.github.euler.core.AbstractPausableSource
scan
-
-
-
-
Method Detail
-
prepareScan
public void prepareScan(URI uri)
-
doScan
public boolean doScan(SourceListener listener) throws IOException
- Throws:
IOException
-
finishScan
public void finishScan()
-
-