Package com.silverpeas.converter

This package defines an API for document format conversion.

See:
          Description

Interface Summary
DocumentFormatConversion This interface defines the ability to convert a document in a given format into a specified another format.
HTMLConverter A converter of HTML document into a text format.
ODTConverter A converter of ODT documents (OpenDocument Text) into another specified formats.
ToHTMLConverter A converter of following listed documents into PDF format : - ODT - DOC - RTF The converter is managed by the IoC container and can be retrieving under the name 'toHTMLConverter'.
ToPDFConverter A converter of following listed documents into PDF format : - ODT - DOC The converter is managed by the IoC container and can be retrieving under the name 'toPDFConverter'.
 

Class Summary
DocumentFormatConverterFactory A factory of document format converters available in Silverpeas.
 

Enum Summary
DocumentFormat Enumeration of the different formats of documents supported in Silverpeas.
 

Exception Summary
DocumentFormatConversionException Exception thrown when an error occurs while converting a document to another format.
DocumentFormatException Exception thrown when the format of a document or the format in which a document has to be converted isn't supported by a converter.
 

Package com.silverpeas.converter Description

This package defines an API for document format conversion. It provides objects to convert documents in different formats. For example, a converter between an ODT document to the PDF format. The converters are managed by the underlying IoC container and so can be injected as dependency. For objects whose the life-cycle isn't managed by the IoC container, a factory of theses converters is available, DocumentFormatConverterFactory.



Copyright © 2016 Silverpeas. All Rights Reserved.