On Tue, 2004-01-13 at 17:49, Jeremias Maerki wrote:
> Talking about performance: It might be a good idea to buffer to
> OutputStream.
>
> driver.setOutputStream(new BufferedOutputStream(new java.io.FileOutputStream(
> pdfFile )));
>
> On 12.01.2004 21:51:09 John Austin wrote:
> > driver.setOutputStream( new java.io.FileOutputStream( pdfFile ) );
Well spotted!
It also needs:
java.io.PrintWriter pw = new java.io.PrintWriter(
new java.io.BufferedWriter(
new java.io.FileWriter( inputFile )
) );
and similar treatment for the StreamSources used to read in the
XML and XSLT files.
There might be some improvement there, but it is down near the
noise.
--
John Austin <[EMAIL PROTECTED]>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]