public class ConversionImpl extends ClientImpl implements BaseConversion
Constructor and Description |
---|
ConversionImpl(String host,
String user,
String password)
ConversionImpl
|
Modifier and Type | Method and Description |
---|---|
String |
barcode2txt(InputStream is,
String fileName) |
InputStream |
doc2pdf(InputStream is,
String fileName) |
String |
doc2txt(InputStream is,
String fileName) |
InputStream |
html2pdf(String url) |
InputStream |
imageConvert(InputStream is,
String fileName,
String params,
String dstMimeType) |
String |
img2txt(InputStream is,
String fileName) |
InputStream |
pdf2swf(InputStream is,
String fileName) |
getClient
public InputStream doc2pdf(InputStream is, String fileName) throws org.apache.commons.lang.NotImplementedException, ConversionException, WebserviceException, UnknowException
doc2pdf
in interface BaseConversion
org.apache.commons.lang.NotImplementedException
ConversionException
WebserviceException
UnknowException
public InputStream pdf2swf(InputStream is, String fileName) throws org.apache.commons.lang.NotImplementedException, ConversionException, WebserviceException, UnknowException
pdf2swf
in interface BaseConversion
org.apache.commons.lang.NotImplementedException
ConversionException
WebserviceException
UnknowException
public InputStream imageConvert(InputStream is, String fileName, String params, String dstMimeType) throws IOException, javax.ws.rs.WebApplicationException, WebserviceException, UnknowException
imageConvert
in interface BaseConversion
IOException
javax.ws.rs.WebApplicationException
WebserviceException
UnknowException
public InputStream html2pdf(String url) throws IOException, ConversionException, WebserviceException, UnknowException
html2pdf
in interface BaseConversion
IOException
ConversionException
WebserviceException
UnknowException
public String doc2txt(InputStream is, String fileName) throws WebserviceException, UnknowException
doc2txt
in interface BaseConversion
WebserviceException
UnknowException
public String img2txt(InputStream is, String fileName) throws IOException, WebserviceException, UnknowException
img2txt
in interface BaseConversion
IOException
WebserviceException
UnknowException
public String barcode2txt(InputStream is, String fileName) throws IOException, WebserviceException, UnknowException
barcode2txt
in interface BaseConversion
IOException
WebserviceException
UnknowException
Copyright © 2018 Open Knowledge Management System S.L.. All Rights Reserved.