@Test public void testCreateOutputStream() throws IOException { SnappyCompressionProvider provider = (SnappyCompressionProvider) factory.getCompressionProviderByName( PROVIDER_NAME ); ByteArrayOutputStream out = new ByteArrayOutputStream(); SnappyCompressionOutputStream outStream = new SnappyCompressionOutputStream( out, provider ); assertNotNull( outStream ); SnappyCompressionOutputStream ncis = provider.createOutputStream( out ); assertNotNull( ncis ); }
@Override public SnappyCompressionOutputStream createOutputStream( OutputStream out ) throws IOException { return new SnappyCompressionOutputStream( out, this ); }
SnappyCompressionProvider implements CompressionProvider { @Override public SnappyCompressionOutputStream createOutputStream( OutputStream out ) throws IOException { return new SnappyCompressionOutputStream( out, this ); } }
SnappyCompressionProvider implements CompressionProvider { @Override public SnappyCompressionOutputStream createOutputStream( OutputStream out ) throws IOException { return new SnappyCompressionOutputStream( out, this ); }  }
SnappyCompressionProvider implements CompressionProvider { @Override public SnappyCompressionOutputStream createOutputStream( OutputStream out ) throws IOException { return new SnappyCompressionOutputStream( out, this ); }  @Override SnappyCompressionInputStream createInputStream( InputStream in ); @Override boolean supportsInput(); @Override SnappyCompressionOutputStream createOutputStream( OutputStream out ); @Override boolean supportsOutput(); @Override String getDescription(); @Override String getName(); @Override String getDefaultExtension(); }
SnappyCompressionProvider implements CompressionProvider { @Override public SnappyCompressionOutputStream createOutputStream( OutputStream out ) throws IOException { return new SnappyCompressionOutputStream( out, this ); }  @Override SnappyCompressionInputStream createInputStream( InputStream in ); @Override boolean supportsInput(); @Override SnappyCompressionOutputStream createOutputStream( OutputStream out ); @Override boolean supportsOutput(); @Override String getDescription(); @Override String getName(); @Override String getDefaultExtension();  }