scistag.filestag.file_source.FileSourceIterator¶
- class FileSourceIterator(source)[source]¶
Bases:
objectIterator providing the data from a file source
- Parameters
source (
FileSource) – The file source to provide the data for
Methods
Attributes
__dict____doc____module____weakref__list of weak references to the object (if defined)
The FileSource which created this iterator
Additional, user defined parameters you can store here to make them accessible to your callback for example
The index of all found files (including skipped ones)
The index of all really processed files
The size of the file which is currently being handled.
- current_file_size¶
The size of the file which is currently being handled. Not available for all file sources. (0 in that case)
- file_index¶
The index of all found files (including skipped ones)
- processed_file_count¶
The index of all really processed files
- processing_data¶
Additional, user defined parameters you can store here to make them accessible to your callback for example
- source¶
The FileSource which created this iterator