public void printHead ( final OutputStream output ) throws IOException { final String eol = "\r\n" ; final Writer writer = new Utf8OutputStreamContent ( output ) ; for ( final String line : this . head ( ) ) { writer . append ( line ) ; writer . append ( eol ) ; } writer . append ( eol ) ; writer . flush ( ) ; }
Print it all .