@Test public void testClose() throws IOException { CompressionProvider provider = outStream.getCompressionProvider(); ByteArrayOutputStream out = new ByteArrayOutputStream(); outStream = new DummyCompressionOS( out, provider ); outStream.close(); }
@Override public void close() throws IOException { delegate.close(); }
CompressionOutputStream extends OutputStream { @Override public void close() throws IOException { delegate.close(); } }
CompressionOutputStream extends OutputStream { @Override public void close() throws IOException { delegate.close(); } CompressionOutputStream( OutputStream out, CompressionProvider provider ); private  CompressionOutputStream(); }
CompressionOutputStream extends OutputStream { @Override public void close() throws IOException { delegate.close(); } CompressionOutputStream( OutputStream out, CompressionProvider provider ); private  CompressionOutputStream(); CompressionProvider getCompressionProvider(); void addEntry( String filename, String extension ); @Override void close(); @Override void write( int b ); @Override void write( byte[] b ); @Override void write( byte[] b, int off, int len ); }
CompressionOutputStream extends OutputStream { @Override public void close() throws IOException { delegate.close(); } CompressionOutputStream( OutputStream out, CompressionProvider provider ); private  CompressionOutputStream(); CompressionProvider getCompressionProvider(); void addEntry( String filename, String extension ); @Override void close(); @Override void write( int b ); @Override void write( byte[] b ); @Override void write( byte[] b, int off, int len );  }