diff options
author | Glen Mazza <gmazza@apache.org> | 2004-06-20 12:35:17 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2004-06-20 12:35:17 +0000 |
commit | d6fc7d07d23209f2416a674e5208ae53f070ae26 (patch) | |
tree | ffd46f9672c76e5b581fed77338ec0d1d8632366 /src/java/org/apache/fop/servlet | |
parent | b638342ab96a6d344aab5fd9653ca24e29d90424 (diff) | |
download | xmlgraphics-fop-d6fc7d07d23209f2416a674e5208ae53f070ae26.tar.gz xmlgraphics-fop-d6fc7d07d23209f2416a674e5208ae53f070ae26.zip |
1.) Removed the get/setLogger methods from Driver, obsolete with Commons-Logging.
2.) Updated examples and documentation.
3.) Added a -v option to show version of FOP being used.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197740 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/servlet')
-rw-r--r-- | src/java/org/apache/fop/servlet/FopPrintServlet.java | 2 | ||||
-rw-r--r-- | src/java/org/apache/fop/servlet/FopServlet.java | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/servlet/FopPrintServlet.java b/src/java/org/apache/fop/servlet/FopPrintServlet.java index 0320a706e..f873812aa 100644 --- a/src/java/org/apache/fop/servlet/FopPrintServlet.java +++ b/src/java/org/apache/fop/servlet/FopPrintServlet.java @@ -134,7 +134,6 @@ public class FopPrintServlet extends HttpServlet { Driver driver = new Driver(foFile, null); AWTPrintRenderer renderer = new AWTPrintRenderer(); - driver.setLogger(log); driver.setRenderer(renderer); driver.run(); @@ -156,7 +155,6 @@ public class FopPrintServlet extends HttpServlet { Driver driver = new Driver(); AWTPrintRenderer renderer = new AWTPrintRenderer(); - driver.setLogger(log); driver.setRenderer(renderer); driver.render(input.getParser(), input.getInputSource()); diff --git a/src/java/org/apache/fop/servlet/FopServlet.java b/src/java/org/apache/fop/servlet/FopServlet.java index 497d4b64f..566b17f4c 100644 --- a/src/java/org/apache/fop/servlet/FopServlet.java +++ b/src/java/org/apache/fop/servlet/FopServlet.java @@ -202,7 +202,6 @@ public class FopServlet extends HttpServlet { //Setup FOP Driver driver = new Driver(); - driver.setLogger(this.log); driver.setRenderer(Driver.RENDER_PDF); driver.initialize(); |