metafacture / metafacture-core

Core package of the Metafacture tool suite for metadata processing.
https://metafacture.org
Apache License 2.0
69 stars 34 forks source link

Optionally decompress concatenated streams. #358

Closed blackwinter closed 3 years ago

blackwinter commented 3 years ago

In order to (transparently) process Blocked GNU Zip Format files, FileCompression should be able to decompress until the end of the input instead of stopping after the first stream (see CompressorStreamFactory(boolean) and CompressorStreamFactory.createCompressorInputStream(String, InputStream, boolean), available since Apache Commons Compress 1.13). This behaviour is controlled via FileOpener.setDecompressConcatenated(boolean), which defaults to false for backwards compatibility.