@Test public void testClose() throws IOException { CompressionProvider provider = outStream.getCompressionProvider(); ByteArrayOutputStream out = new ByteArrayOutputStream(); outStream = new SnappyCompressionOutputStream( out, provider ); outStream.close(); }
@Override public void close() throws IOException { SnappyOutputStream zos = (SnappyOutputStream) delegate; zos.flush(); zos.close(); }
SnappyCompressionOutputStream extends CompressionOutputStream { @Override public void close() throws IOException { SnappyOutputStream zos = (SnappyOutputStream) delegate; zos.flush(); zos.close(); } }
SnappyCompressionOutputStream extends CompressionOutputStream { @Override public void close() throws IOException { SnappyOutputStream zos = (SnappyOutputStream) delegate; zos.flush(); zos.close(); } SnappyCompressionOutputStream( OutputStream out, CompressionProvider provider ); }
SnappyCompressionOutputStream extends CompressionOutputStream { @Override public void close() throws IOException { SnappyOutputStream zos = (SnappyOutputStream) delegate; zos.flush(); zos.close(); } SnappyCompressionOutputStream( OutputStream out, CompressionProvider provider ); @Override void close(); @Override void write( int b ); }
SnappyCompressionOutputStream extends CompressionOutputStream { @Override public void close() throws IOException { SnappyOutputStream zos = (SnappyOutputStream) delegate; zos.flush(); zos.close(); } SnappyCompressionOutputStream( OutputStream out, CompressionProvider provider ); @Override void close(); @Override void write( int b );  }