@DisplayName(value="Zip") @Alias(value="zip-decompressor") public class ZipDecompressorStrategy extends Object implements DecompressorStrategy
| Constructor and Description |
|---|
ZipDecompressorStrategy() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
decompress(org.mule.runtime.api.metadata.TypedValue<InputStream> compressed)
Decompresses a compressed content.
|
public InputStream decompress(org.mule.runtime.api.metadata.TypedValue<InputStream> compressed) throws DecompressionException
For compressed archives this will only work with single entry archives. e.g. a zip file with more than 2 entries
will end up in a TooManyEntriesException.
decompress in interface DecompressorStrategyDecompressionExceptionCopyright © 2021 MuleSoft, Inc.. All rights reserved.