@Test public void testSetOutputBufferSize() throws IOException { Assert.assertNotEquals(17, compressor.getOutputBufferSize()); compressor.setOutputBufferSize(17); Assert.assertEquals(17, compressor.getOutputBufferSize()); compressor.compress(rawContentIn, compressedContentOut); byte[] uncompressed = uncompressWithJavaInflater(compressor.isNowrap(), compressedContentOut.toByteArray()); Assert.assertArrayEquals(CONTENT, uncompressed); }
public void setOutputBufferSize(int outputBufferSize) { this.outputBufferSize = outputBufferSize; }
DeflateCompressor implements Compressor { public void setOutputBufferSize(int outputBufferSize) { this.outputBufferSize = outputBufferSize; } }
DeflateCompressor implements Compressor { public void setOutputBufferSize(int outputBufferSize) { this.outputBufferSize = outputBufferSize; }  }
DeflateCompressor implements Compressor { public void setOutputBufferSize(int outputBufferSize) { this.outputBufferSize = outputBufferSize; }  boolean isNowrap(); void setNowrap(boolean nowrap); int getCompressionLevel(); void setCompressionLevel(int compressionLevel); int getStrategy(); void setStrategy(int strategy); int getInputBufferSize(); void setInputBufferSize(int inputBufferSize); int getOutputBufferSize(); void setOutputBufferSize(int outputBufferSize); boolean isCaching(); void setCaching(boolean caching); void release(); @Override void compress(InputStream uncompressedIn, OutputStream compressedOut); }
DeflateCompressor implements Compressor { public void setOutputBufferSize(int outputBufferSize) { this.outputBufferSize = outputBufferSize; }  boolean isNowrap(); void setNowrap(boolean nowrap); int getCompressionLevel(); void setCompressionLevel(int compressionLevel); int getStrategy(); void setStrategy(int strategy); int getInputBufferSize(); void setInputBufferSize(int inputBufferSize); int getOutputBufferSize(); void setOutputBufferSize(int outputBufferSize); boolean isCaching(); void setCaching(boolean caching); void release(); @Override void compress(InputStream uncompressedIn, OutputStream compressedOut);  }