@PublicEvolving public final class StandardDeCompressors extends Object
Modifier and Type | Method and Description |
---|---|
static Collection<String> |
getCommonSuffixes()
Gets all common file extensions of supported file compression formats.
|
static InflaterInputStreamFactory<?> |
getDecompressorForExtension(String extension)
Gets the decompressor for a file extension.
|
static InflaterInputStreamFactory<?> |
getDecompressorForFileName(String fileName)
Gets the decompressor for a file name.
|
public static Collection<String> getCommonSuffixes()
@Nullable public static InflaterInputStreamFactory<?> getDecompressorForExtension(String extension)
@Nullable public static InflaterInputStreamFactory<?> getDecompressorForFileName(String fileName)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.