Package org.openrefine.importers
Class MultiFileReadingProgressStub
- java.lang.Object
-
- org.openrefine.importers.MultiFileReadingProgressStub
-
- All Implemented Interfaces:
MultiFileReadingProgress
public class MultiFileReadingProgressStub extends Object implements MultiFileReadingProgress
-
-
Field Summary
Fields Modifier and Type Field Description longbytesReadStringfileSource
-
Constructor Summary
Constructors Constructor Description MultiFileReadingProgressStub()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidendFiles()Called at the end of reading all files in the importing job.voidreadingFile(String fileSource, long bytesRead)Called while the file is being read, with the total number of bytes read since the beginning of the filevoidstartFile(String fileSource)Called when starting to read a file
-
-
-
Field Detail
-
bytesRead
public long bytesRead
-
fileSource
public String fileSource
-
-
Method Detail
-
startFile
public void startFile(String fileSource)
Description copied from interface:MultiFileReadingProgressCalled when starting to read a file- Specified by:
startFilein interfaceMultiFileReadingProgress
-
readingFile
public void readingFile(String fileSource, long bytesRead)
Description copied from interface:MultiFileReadingProgressCalled while the file is being read, with the total number of bytes read since the beginning of the file- Specified by:
readingFilein interfaceMultiFileReadingProgress
-
endFiles
public void endFiles()
Description copied from interface:MultiFileReadingProgressCalled at the end of reading all files in the importing job. This is to ensure that subsequent reads (for instance when saving the project in the workspace) do not impact the progress, as the progress of that step is handled separately.- Specified by:
endFilesin interfaceMultiFileReadingProgress
-
-