@Internal public interface InflaterInputStreamFactory<T extends InputStream>
InflaterInputStream
.Modifier and Type | Method and Description |
---|---|
T |
create(InputStream in)
Creates a
InflaterInputStream that wraps the given input stream. |
Collection<String> |
getCommonFileExtensions()
Lists a collection of typical file extensions (e.g., "gz", "gzip") that are associated with
the compression algorithm in the
InflaterInputStream T . |
T create(InputStream in) throws IOException
InflaterInputStream
that wraps the given input stream.in
- is the compressed input streamIOException
Collection<String> getCommonFileExtensions()
InflaterInputStream
T
.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.