Introduction of Java ZIP library
The pull request introduces java's ZIP library to enhance how our application handles ZIP file types.
Better ZIP file handling
Changes have been made to the File.collect() function to improve ZIP files handling. When the function encounters a file with a .zip extension, it will process it differently from other file types. This ensures consistency and efficiency when dealing with ZIP files.
Collecting entries from ZIP files
A new lambda function collection.collect(entry.name) { zip.getInputStream(entry).readBytes() } has been added within the File.collect() function which collects entries from the ZIP files. This addition significantly enhances data processing and storage.
Lazy data loading
An upgrade has been added to the CompositeCollector.collect() function involving val bytes by lazy(data). This innovation prevents the "end-of-stream" error that may occur due to simultaneous access by multiple readers. Hence, it upscales the application's performance and reliability.
PR Summary
Introduction of Java ZIP library The pull request introduces java's ZIP library to enhance how our application handles ZIP file types.
Better ZIP file handling Changes have been made to the
File.collect()
function to improve ZIP files handling. When the function encounters a file with a.zip
extension, it will process it differently from other file types. This ensures consistency and efficiency when dealing with ZIP files.Collecting entries from ZIP files A new lambda function
collection.collect(entry.name) { zip.getInputStream(entry).readBytes() }
has been added within theFile.collect()
function which collects entries from the ZIP files. This addition significantly enhances data processing and storage.Lazy data loading An upgrade has been added to the
CompositeCollector.collect()
function involvingval bytes by lazy(data)
. This innovation prevents the "end-of-stream" error that may occur due to simultaneous access by multiple readers. Hence, it upscales the application's performance and reliability.