@Internal public class UncompressedStreamCompressionDecorator extends StreamCompressionDecorator
Modifier and Type | Field and Description |
---|---|
static StreamCompressionDecorator |
INSTANCE |
Constructor and Description |
---|
UncompressedStreamCompressionDecorator() |
Modifier and Type | Method and Description |
---|---|
protected InputStream |
decorateWithCompression(NonClosingInputStreamDecorator stream) |
protected OutputStream |
decorateWithCompression(NonClosingOutpusStreamDecorator stream) |
decorateWithCompression, decorateWithCompression
public static final StreamCompressionDecorator INSTANCE
public UncompressedStreamCompressionDecorator()
protected OutputStream decorateWithCompression(NonClosingOutpusStreamDecorator stream) throws IOException
decorateWithCompression
in class StreamCompressionDecorator
stream
- the stream to decorateIOException
protected InputStream decorateWithCompression(NonClosingInputStreamDecorator stream) throws IOException
decorateWithCompression
in class StreamCompressionDecorator
stream
- the stream to decorate.IOException
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.