This is a question for FOP users, please help

Hi all you fo dudes:

Please need some assistance on how to programatically get a fo doc to render
to pdf. I got it working using the code below, but i want to specify another
userconfig file...how can i do this without doing it command line...anyone
got any examples or maybe someone has done it already? Thanx

//            Driver driver = new Driver();
//            driver.setRenderer(Driver.RENDER_PDF);
//            driver.setInputSource(new InputSource(OLIFE_FO));
//            driver.setOutputStream(new FileOutputStream(OLIFE_PDF));
//            driver.run();


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

Received on Monday, 3 December 2001 06:43:57 UTC