fr.opensagres.xdocreport.remoting.converter
Interface ConverterService

All Known Implementing Classes:
ConverterServiceImpl

public interface ConverterService

Document converter REST Web Service API.


Method Summary
 javax.ws.rs.core.Response convert(DataSource document, String outputFormat, String via, boolean download)
          Convert the given document (docx, odt) to the given format (PDF, XHTML).
 

Method Detail

convert

javax.ws.rs.core.Response convert(DataSource document,
                                  String outputFormat,
                                  String via,
                                  boolean download)
Convert the given document (docx, odt) to the given format (PDF, XHTML).

Parameters:
document - the data source stream of the document to convert.
outputFormat - the output format.
via - used to select the well converter (docx4j, XDOcReport etc)
download - true if converted document must be download and false otherwise.
Returns:


Copyright © 2013. All rights reserved.