01: /*
02: * HtmlExportWriter.java
03: *
04: * This file is part of SQL Workbench/J, http://www.sql-workbench.net
05: *
06: * Copyright 2002-2008, Thomas Kellerer
07: * No part of this code maybe reused without the permission of the author
08: *
09: * To contact the author please send an email to: support@sql-workbench.net
10: *
11: */
12: package workbench.db.exporter;
13:
14: /**
15: *
16: * @author support@sql-workbench.net
17: */
18: public class HtmlExportWriter extends ExportWriter {
19:
20: public HtmlExportWriter(DataExporter exp) {
21: super (exp);
22: }
23:
24: public RowDataConverter createConverter() {
25: return new HtmlRowDataConverter();
26: }
27:
28: public void configureConverter() {
29: HtmlRowDataConverter conv = (HtmlRowDataConverter) this.converter;
30: conv.setPageTitle(this.exporter.getPageTitle());
31: conv.setCreateFullPage(exporter.getCreateFullHtmlPage());
32: conv.setEscapeHtml(exporter.getEscapeHtml());
33: }
34: }
|