@Test public void testClose() throws IOException { CompressionProvider provider = outStream.getCompressionProvider(); ByteArrayOutputStream out = new ByteArrayOutputStream(); outStream = new ZIPCompressionOutputStream( out, provider ); outStream.close(); }
@Override public void close() throws IOException { ZipOutputStream zos = (ZipOutputStream) delegate; zos.flush(); zos.closeEntry(); zos.finish(); zos.close(); }
ZIPCompressionOutputStream extends CompressionOutputStream { @Override public void close() throws IOException { ZipOutputStream zos = (ZipOutputStream) delegate; zos.flush(); zos.closeEntry(); zos.finish(); zos.close(); } }
ZIPCompressionOutputStream extends CompressionOutputStream { @Override public void close() throws IOException { ZipOutputStream zos = (ZipOutputStream) delegate; zos.flush(); zos.closeEntry(); zos.finish(); zos.close(); } ZIPCompressionOutputStream( OutputStream out, CompressionProvider provider ); }
ZIPCompressionOutputStream extends CompressionOutputStream { @Override public void close() throws IOException { ZipOutputStream zos = (ZipOutputStream) delegate; zos.flush(); zos.closeEntry(); zos.finish(); zos.close(); } ZIPCompressionOutputStream( OutputStream out, CompressionProvider provider ); @Override void close(); @Override void addEntry( String filename, String extension ); }
ZIPCompressionOutputStream extends CompressionOutputStream { @Override public void close() throws IOException { ZipOutputStream zos = (ZipOutputStream) delegate; zos.flush(); zos.closeEntry(); zos.finish(); zos.close(); } ZIPCompressionOutputStream( OutputStream out, CompressionProvider provider ); @Override void close(); @Override void addEntry( String filename, String extension );  }