Class HTMLExporter

java.lang.Object
org.ofdrw.converter.export.HTMLExporter
All Implemented Interfaces:
Closeable, AutoCloseable, OFDExporter

public class HTMLExporter extends Object implements OFDExporter
基于SVG转换的 OFD HTML转换器
Since:
2023-3-8 21:57:03
Author:
权观宇
  • Constructor Details

    • HTMLExporter

      public HTMLExporter(Path ofdFilePath, Path htmlFilePath) throws IOException
      构造图片转换器
      Parameters:
      ofdFilePath - 待转换OFD文件
      htmlFilePath - 生成HTML存放目录
      Throws:
      IOException - 文件解析异常
    • HTMLExporter

      public HTMLExporter(InputStream ofdInput, OutputStream htmlOutput) throws IOException
      构造图片转换器
      Parameters:
      ofdInput - 待转换OFD文件流,该流由调用者负责关闭
      htmlOutput - 生成HTML输出流
      Throws:
      IOException - 文件解析异常
  • Method Details