question: public static void transform ( InputStream srcStream , OutputStream destStream , InputStream stylesheetStream , String outputFormat ) throws FOPException { StreamSource src = new StreamSource ( srcStream ) ; StreamSource stylesheet = stylesheetStream == null ? null : new StreamSource ( stylesheetStream ) ; Fop fop = createFopInstance ( destStream , outputFormat ) ; transform ( src , stylesheet , fop ) ; }
target:  Transform an xsl-fo InputStream to the specified OutputStream format.