if (LOG.isDebugEnabled()) {
LOG.debug("buffer = '" + buffer + "'");
}
try {
Driver driver = new Driver();
Logger logger = new CommonsLoggingLogger(LOG);
driver.setLogger(logger);
driver.setRenderer(Driver.RENDER_PDF);
driver.setErrorDump(true);
// driver.setInputSource(new InputSource(new FileInputStream("C:/simple.fo")));
// driver.setInputSource(new InputSource(new StringReader(fo)));