@ Override public void write ( final Stream < Triple > triples , final OutputStream out , final String subject ) { final Writer writer = new OutputStreamWriter ( out , UTF_8 ) ; try { template . execute ( writer , new HtmlData ( namespaceService , subject , triples . collect ( toList ( ) ) , css , js , icon ) ) . flush ( ) ; } catch ( final IOException ex ) { throw new UncheckedIOException ( ex ) ; } }
Send the content to an output stream .