@Internal public class GzipInflaterInputStreamFactory extends Object implements InflaterInputStreamFactory<GZIPInputStream>
| Constructor and Description |
|---|
GzipInflaterInputStreamFactory() |
| Modifier and Type | Method and Description |
|---|---|
GZIPInputStream |
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. |
static GzipInflaterInputStreamFactory |
getInstance() |
public static GzipInflaterInputStreamFactory getInstance()
public GZIPInputStream create(InputStream in) throws IOException
InflaterInputStreamFactoryInflaterInputStream that wraps the given input stream.create in interface InflaterInputStreamFactory<GZIPInputStream>in - is the compressed input streamIOExceptionpublic Collection<String> getCommonFileExtensions()
InflaterInputStreamFactoryInflaterInputStream T.getCommonFileExtensions in interface InflaterInputStreamFactory<GZIPInputStream>Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.