public interface OnDemandConverter
Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(String outputFormat,
BinaryResource binaryResource)
Determine if plugin is able to convert given resource in given output format
|
InputStream |
getConvertedResource(String outputFormat,
BinaryResource binaryResource,
DocumentIteration documentIteration,
Locale locale)
Get the converted resource in given output format for a document iteration
|
InputStream |
getConvertedResource(String outputFormat,
BinaryResource binaryResource,
PartIteration partIteration,
Locale locale)
Get the converted resource in given output format for a part iteration
|
boolean canConvert(String outputFormat, BinaryResource binaryResource)
outputFormat
- the output formatbinaryResource
- the resource to convertInputStream getConvertedResource(String outputFormat, BinaryResource binaryResource, DocumentIteration documentIteration, Locale locale) throws ConvertedResourceException
outputFormat
- the output formatbinaryResource
- the resource to convertdocumentIteration
- the document iteration concernedlocale
- the locale to use for conversionConvertedResourceException
InputStream getConvertedResource(String outputFormat, BinaryResource binaryResource, PartIteration partIteration, Locale locale) throws ConvertedResourceException
outputFormat
- the output formatbinaryResource
- the resource to convertpartIteration
- the part iteration concernedlocale
- the locale to use for conversionConvertedResourceException
Copyright © 2017 DocDoku. All rights reserved.