1 package org.simantics.export.core;
3 import org.simantics.export.core.intf.ContentType;
4 import org.simantics.export.core.intf.Discoverer;
5 import org.simantics.export.core.intf.Exporter;
6 import org.simantics.export.core.intf.Format;
7 import org.simantics.export.core.intf.Importer;
8 import org.simantics.export.core.intf.Publisher;
11 * Export Extension Point services
13 * @author toni.kalajainen@semantum.fi
15 public interface ExportExtensionPoint {
17 ContentType[] contentTypes();
18 Discoverer[] discoverers();
20 Importer[] importers();
21 Exporter[] exporters();
22 Publisher[] publishers();
24 Discoverer[] getDiscoverers(String contentTypeId);
25 Format getFormat(String formatId);
26 Format getFormatByExt(String fileExt);
27 ContentType getContentType(String contentTypeId);
28 Importer getImporter(String formatId);
29 Exporter[] getExporters(String formatId, String contentTypeId);
30 Publisher getPublisher(String publisherId);
31 Publisher getPublisherByLabel(String publisherLabel);
32 int getPublisherIndex(String publisherId);
35 * Get exporters for a content type. The result is priority ordered list.
37 * @param contentTypeId
38 * @return ordered list of exporters
40 Exporter[] getExportersForContentType(String contentTypeId);
43 * Get exporters for a content type. The result is priority ordered list.
46 * @return ordered list of exporters
48 Exporter[] getExportersForFormat(String formatId);