public interface DocConverter
| Modifier and Type | Method and Description |
|---|---|
Future<List<InputStream>> |
convertFiles(List<File> source,
String paramSourceMimeType,
String paramTargetMimeType)
Converts a source that is represented as a
File. |
Future<List<InputStream>> |
convertStreams(List<InputStream> source,
String paramSourceMimeType,
String paramTargetMimeType)
Converts a source that is represented as a
InputStream. |
Future<List<InputStream>> convertStreams(List<InputStream> source, String paramSourceMimeType, String paramTargetMimeType) throws ConversionException
InputStream. The input
stream will be closed after the conversion is complete of if the conversion
failed.source - The conversion input as an input stream.paramSourceMimeType - the param source mime typeparamTargetMimeType - the param target mime typeConversionException - the conversion exceptionFuture<List<InputStream>> convertFiles(List<File> source, String paramSourceMimeType, String paramTargetMimeType) throws ConversionException
File. The input stream
will be closed after the conversion is complete of if the conversion failed.source - The conversion input as an input stream.paramSourceMimeType - the param source mime typeparamTargetMimeType - the param target mime typeConversionException - the conversion exceptionCopyright © 2022. All rights reserved.