public class GZIPCompressionProvider extends Object implements CompressionProvider
| Constructor and Description | 
|---|
GZIPCompressionProvider()  | 
| Modifier and Type | Method and Description | 
|---|---|
GZIPCompressionInputStream | 
createInputStream(InputStream in)
Creates an input stream that decompresses data (according to the provider's implementation) 
 | 
GZIPCompressionOutputStream | 
createOutputStream(OutputStream out)
Creates an output stream that compresses data (according to the provider's implementation) 
 | 
String | 
getDefaultExtension()
Gets the default file extension for this provider. 
 | 
String | 
getDescription()
Gets the name of this provider. 
 | 
String | 
getName()
Gets the name of this provider. 
 | 
boolean | 
supportsInput()
Whether this compression provider supports input streams 
 | 
boolean | 
supportsOutput()
Whether this compression provider supports output streams 
 | 
public GZIPCompressionInputStream createInputStream(InputStream in) throws IOException
CompressionProvidercreateInputStream in interface CompressionProviderin - An existing input stream to wrapIOExceptionpublic boolean supportsInput()
CompressionProvidersupportsInput in interface CompressionProviderpublic GZIPCompressionOutputStream createOutputStream(OutputStream out) throws IOException
CompressionProvidercreateOutputStream in interface CompressionProviderout - An existing output stream to wrapIOExceptionpublic boolean supportsOutput()
CompressionProvidersupportsOutput in interface CompressionProviderpublic String getDescription()
CompressionProvidergetDescription in interface CompressionProviderpublic String getName()
CompressionProvidergetName in interface CompressionProviderpublic String getDefaultExtension()
CompressionProvidergetDefaultExtension in interface CompressionProvider