Interface Converter
-
- All Known Subinterfaces:
ExternalConverter
- All Known Implementing Classes:
AnyToThumbnailConverter
,BaseBlenderConverter
,BaseOfficeXMLTextConverter
,BaseVideoConversionConverter
,BatchConverter
,ChainedConverter
,Collada2glTFConverter
,ColladaConverter
,CommandLineBasedConverter
,CommandLineConverter
,ConvertToPDFPictureConverter
,CropPictureConverter
,DeckJSPDFConverter
,DOCX2TextConverter
,FullTextConverter
,GoogleDriveBlobConverter
,Html2TextConverter
,HtmlPreviewConverter
,Image2PDFConverter
,IWork2PDFConverter
,LibreOfficeConverter
,LodsConverter
,Md2HtmlConverter
,MD2TextConverter
,MP4Converter
,MSOffice2TextConverter
,OggConverter
,OOo2TextConverter
,PartialTextExtractor
,PDF2HtmlConverter
,PDF2ImageConverter
,PDF2TextConverter
,PPTX2TextConverter
,RenderConverter
,ResizePictureConverter
,RFC822ToTextConverter
,RotationPictureConverter
,RTF2TextConverter
,ScreenshotConverter
,StoryboardConverter
,ThumbnailDocumentConverter
,UTF8CharsetConverter
,VideoConversionConverter
,WebMConverter
,WordPerfect2TextConverter
,XL2TextConverter
,XLX2TextConverter
,XML2TextConverter
,XmlZip2TextConverter
,Zip2HtmlConverter
public interface Converter
Interface that must be implemented by any contributer Converter class.There is only one instance of each contributed converter class: that means that the implementation must be thread-safe.
- Author:
- tiry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BlobHolder
convert(BlobHolder blobHolder, Map<String,Serializable> parameters)
Main method to handle the real Conversion Job.void
init(ConverterDescriptor descriptor)
Initializes the Converter.
-
-
-
Method Detail
-
init
void init(ConverterDescriptor descriptor)
Initializes the Converter.This can be used to retrieve some configuration information from the XMap Descriptor.
-
convert
BlobHolder convert(BlobHolder blobHolder, Map<String,Serializable> parameters) throws ConversionException
Main method to handle the real Conversion Job.Returned
BlobHolder
must implementCachableBlobHolder
, otherwise result won't be cached.- Throws:
ConversionException
-
-