Package org.openrefine.importers
Interface MultiFileReadingProgress
-
- All Known Implementing Classes:
MultiFileReadingProgressStub
public interface MultiFileReadingProgress
Interface for reporting progress of reading a file, by repeatedly updating how many bytes have been read in the file.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
endFiles()
Called at the end of reading all files in the importing job.void
readingFile(String fileSource, long bytesRead)
Called while the file is being read, with the total number of bytes read since the beginning of the filevoid
startFile(String fileSource)
Called when starting to read a file
-
-
-
Method Detail
-
startFile
void startFile(String fileSource)
Called when starting to read a file
-
readingFile
void readingFile(String fileSource, long bytesRead)
Called while the file is being read, with the total number of bytes read since the beginning of the file
-
endFiles
void endFiles()
Called 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.
-
-