All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.formkiq.server.service.ExportService Maven / Gradle / Ivy

There is a newer version: 0.6.1
Show newest version
package com.formkiq.server.service;

import java.io.IOException;
import java.io.OutputStream;

import com.formkiq.server.service.dto.FormJSON;

/**
 * Method to export JSON to a format.
 *
 */
public interface ExportService {

    /**
     * Export to Excel XLS format.
     * @param form FormJSON
     * @param os OutputStream
     * @throws IOException IOException
     */
    void writeToXLS(FormJSON form, OutputStream os) throws IOException;

    /**
     * Export to Excel XLSX format.
     * @param form FormJSON
     * @param os OutputStream
     * @throws IOException IOException
     */
    void writeToXLSX(final FormJSON form, final OutputStream os)
            throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy