// Construct driver
Driver driver = new Driver();
- // Setup driver
- driver.initialize();
-
// Setup Renderer (output format)
driver.setRenderer(Driver.RENDER_PDF);
// Construct driver
Driver driver = new Driver();
- // Setup driver
- driver.initialize();
-
// Setup Renderer (output format)
driver.setRenderer(Driver.RENDER_PDF);
// Construct driver
Driver driver = new Driver();
- // Setup driver
- driver.initialize();
-
// Setup Renderer (output format)
driver.setRenderer(Driver.RENDER_PDF);
// Construct driver
Driver driver = new Driver();
- // Setup logger
- driver.initialize();
-
// Setup Renderer (output format)
driver.setRenderer(Driver.RENDER_PDF);
/**
* Initializes the Driver object.
*/
- public void initialize() {
+ private void initialize() {
if (isInitialized()) {
throw new IllegalStateException("Driver already initialized");
}
//Setup FOP
Driver driver = new Driver();
driver.setRenderer(Driver.RENDER_PDF);
- driver.initialize();
//Setup output
ByteArrayOutputStream out = new ByteArrayOutputStream();