public interface IConversionManager
| Modifier and Type | Method and Description |
|---|---|
Map<DocumentType,Set<DocumentType>> |
getSupportedConversions()
Returns a mapping of all conversions that are supported by the backing conversion engine.
|
boolean |
isOperational()
Checks if all converter back-ends that are represented by this conversion manager are operational.
|
void |
shutDown()
Shuts down all converter back-ends that are represented by this conversion manager.
|
Future<Boolean> |
startConversion(File source,
DocumentType sourceFormat,
File target,
DocumentType targetFormat)
Schedules a conversion from an input file to be converted into the target format.
|
Future<Boolean> startConversion(File source, DocumentType sourceFormat, File target, DocumentType targetFormat)
source - The source file which is to be converted.sourceFormat - The file format of the source file.target - The target file to which the converted file should be saved.targetFormat - The file format of the target file.boolean represents the
conversion's success.Map<DocumentType,Set<DocumentType>> getSupportedConversions()
boolean isOperational()
true if the all represented converters are operational.void shutDown()
Copyright © 2013–2016. All rights reserved.