nl.lxtreme.ols.util.export
Class HtmlFileExporterImpl
java.lang.Object
nl.lxtreme.ols.util.export.HtmlExporterImpl
nl.lxtreme.ols.util.export.HtmlFileExporterImpl
- All Implemented Interfaces:
- ExportUtils.HtmlExporter, ExportUtils.HtmlFileExporter
public class HtmlFileExporterImpl
- extends HtmlExporterImpl
- implements ExportUtils.HtmlFileExporter
Provides a file-writing HTML exporter.
Fields inherited from interface nl.lxtreme.ols.util.ExportUtils.HtmlExporter |
BR, DIV, H1, H2, H3, HR, META, P, SPAN, TABLE, TBODY, TD, TFOOT, TH, THEAD, TR |
Constructor Summary |
|
HtmlFileExporterImpl(File aFile)
Creates a new HtmlFileExporterImpl instance for writing to the given file
in UTF-8. |
protected |
HtmlFileExporterImpl(Writer aWriter)
Creates a new HtmlFileExporterImpl instance for writing to the given
Writer. |
writer
public final Writer writer
HtmlFileExporterImpl
public HtmlFileExporterImpl(File aFile)
throws IOException
- Creates a new HtmlFileExporterImpl instance for writing to the given file
in UTF-8.
- Parameters:
aFile
- the file to write to, cannot be null
;
- Throws:
IOException
- in case of I/O problems.
HtmlFileExporterImpl
protected HtmlFileExporterImpl(Writer aWriter)
- Creates a new HtmlFileExporterImpl instance for writing to the given
Writer.
- Parameters:
aWriter
- the writer to write to, cannot be null
;
close
public void close()
throws IOException
- Closes this exporter and writes everything down to file.
- Specified by:
close
in interface ExportUtils.HtmlFileExporter
- Throws:
IOException
- in case of I/O problems.
write
public void write(ExportUtils.HtmlExporter.MacroResolver aResolver)
throws IOException
- Description copied from interface:
ExportUtils.HtmlFileExporter
- Writes the HTML export to file using the given macro resolver to resolve
any macros.
- Specified by:
write
in interface ExportUtils.HtmlFileExporter
- Parameters:
aResolver
- the macro resolver to use, cannot be null
.
- Throws:
IOException
- in case of I/O problems.- See Also:
ExportUtils.HtmlFileExporter.write(nl.lxtreme.ols.util.ExportUtils.HtmlExporter.MacroResolver)
Copyright © 2012 L'Xtreme IT consultancy. All Rights Reserved.