Interface Exporter


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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void export​(io.keikai.doc.api.DocumentModel model, java.io.File file)
      Export a specific DocumentModel to a output File
      void export​(io.keikai.doc.api.DocumentModel model, java.io.OutputStream os)
      Export a specific DocumentModel to a OutputStream.
    • Method Detail

      • export

        void export​(io.keikai.doc.api.DocumentModel model,
                    java.io.OutputStream os)
             throws java.io.IOException
        Export a specific DocumentModel to a OutputStream.
        Parameters:
        model - the DocumentModel to be exported
        os - the OutputStream to store data
        Throws:
        java.io.IOException
      • export

        void export​(io.keikai.doc.api.DocumentModel model,
                    java.io.File file)
             throws java.io.IOException
        Export a specific DocumentModel to a output File
        Parameters:
        model - the DocumentModel to be exported
        file - the output File to store data
        Throws:
        java.io.IOException