public interface BaseConversion
Modifier and Type | Method and Description |
---|---|
String |
barcode2txt(InputStream is,
String fileName)
Extracts the barcode text from the uploaded image.
|
InputStream |
doc2pdf(InputStream is,
String fileName)
Retrieve the uploaded document converted to PDF format.
|
String |
doc2txt(InputStream is,
String fileName)
Extracts the text from the upload document.
|
InputStream |
html2pdf(String url)
Retrieve the PDF of an URL.
|
InputStream |
imageConvert(InputStream is,
String fileName,
String params,
String dstMimeType)
Retrieve the uploaded image with transformation.
|
String |
img2txt(InputStream is,
String fileName)
Extracts the text from the uploaded image.
|
InputStream doc2pdf(InputStream is, String fileName) throws org.apache.commons.lang.NotImplementedException, ConversionException, WebserviceException, UnknownException
is
- The content of the filefileName
- the file nameorg.apache.commons.lang.NotImplementedException
- the not implemented exceptionConversionException
- the conversion exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionInputStream imageConvert(InputStream is, String fileName, String params, String dstMimeType) throws WebserviceException, UnknownException
is
- The content of the filefileName
- the file nameparams
- the paramsdstMimeType
- the dst mime typeWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionInputStream html2pdf(String url) throws ConversionException, WebserviceException, UnknownException
url
- the urlConversionException
- the conversion exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionString doc2txt(InputStream is, String fileName) throws WebserviceException, UnknownException
is
- The content of the filefileName
- the file nameWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionString img2txt(InputStream is, String fileName) throws WebserviceException, UnknownException
is
- The content of the filefileName
- The filenameWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionString barcode2txt(InputStream is, String fileName) throws WebserviceException, UnknownException
is
- The content of the filefileName
- the file nameWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionCopyright © 2021 Open Knowledge Management System S.L.. All Rights Reserved.