Reading compressed textfile on-the-fly
Reading .gz textfile line after line
This class open a .gz file (usual format of compressed log files) and will return a line at each call of
There is no memory usage for temporary decompression, very useful for large file.
Note : there is no failsafe, for readbility purpose.
This modified text is an extract of the original Stack Overflow Documentation created by following contributors and released under CC BY-SA 3.0
This website is not affiliated with Stack Overflow