|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
Exporter<T extends Serializable> | This interface defines the features an exporter of serializable resources in Silverpeas have to satisfy. |
Importer<T extends Serializable> | This interface defines the features an immporter of serializable resources in Silverpeas have to satisfy. |
Class Summary | |
---|---|
ExportDescriptor | It represents a descriptor about the export of resources into a writer or an output stream. |
ExporterFactory | A factory of exporters in Silverpeas. |
ImportDescriptor | It represents a descriptor about the import of resources from a reader or an input stream. |
ImportExportDescriptor | An import export descriptor is an object that provides useful information to exporters and importers for performing their tasks. |
Exception Summary | |
---|---|
EncodingException | A runtime exception that is thrown when an error occurs while encoding a Silverpeas object into a formatted string or stream. |
ExportException | Exception thrown when the export of a Silverpeas resource failed. |
ImportException | Exception thrown when the import of a Silverpeas resource failed. |
NoDataToExportException | A specific export exception that is raised when there is no data to export and the format of the file into which the export has to be done requires the existance of at least one such data. |
Provides the different exporters and importers of serializable Silverpeas resources in a specific format (PDF, iCal, JSON, and so on). An exporter is a processor aimed to take a given type of a Silverpeas resource for serializing it in a dedicated format into an output stream. An importer is a processor aimed to take an input stream for deserializing from it a Silverpeas resource. Exporters and importers aren't for data source access purpose. Prefer the use of a dedicated ORM for doing. Some core exporters and importers are provided for Silverpeas components. To access theses core exporters and importers, an ExporterFactory and an ImporterFactory is provided; they encapsulate the concrete implemenentation of the core exporters and importers, so that their client are protected from implementation change. So, for all new core exporters and importers, please enrich the interface of the ExporterFactory and of the ImporterFactory classes to add an access to the implementation of your new core exporters or importers. (Glance at the ICalExporter exemple to know how to do that).
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |