Interface Exporter


public interface Exporter
An interface to export a DocumentModel to a specific file.
Author:
Jamson Chan
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    export(io.keikai.doc.api.DocumentModel model, File file)
    Export a specific DocumentModel to a output File
    void
    export(io.keikai.doc.api.DocumentModel model, OutputStream os)
    Export a specific DocumentModel to a OutputStream.
  • Method Details

    • export

      void export(io.keikai.doc.api.DocumentModel model, OutputStream os) throws Exception
      Export a specific DocumentModel to a OutputStream.
      Parameters:
      model - the DocumentModel to be exported
      os - the OutputStream to store data
      Throws:
      Exception - if any error occurs
    • export

      void export(io.keikai.doc.api.DocumentModel model, File file) throws Exception
      Export a specific DocumentModel to a output File
      Parameters:
      model - the DocumentModel to be exported
      file - the output File to store data
      Throws:
      Exception - if any error occurs