-package org.simantics.export.core;\r
-\r
-import org.simantics.export.core.intf.ContentType;\r
-import org.simantics.export.core.intf.Discoverer;\r
-import org.simantics.export.core.intf.Exporter;\r
-import org.simantics.export.core.intf.Format;\r
-import org.simantics.export.core.intf.Importer;\r
-import org.simantics.export.core.intf.Publisher;\r
-\r
-/**\r
- * Export Extension Point services\r
- *\r
- * @author toni.kalajainen@semantum.fi\r
- */\r
-public interface ExportExtensionPoint {\r
-\r
- ContentType[] contentTypes();\r
- Discoverer[] discoverers();\r
- Format[] formats();\r
- Importer[] importers();\r
- Exporter[] exporters(); \r
- Publisher[] publishers();\r
- \r
- Discoverer[] getDiscoverers(String contentTypeId);\r
- Format getFormat(String formatId);\r
- Format getFormatByExt(String fileExt);\r
- ContentType getContentType(String contentTypeId);\r
- Importer getImporter(String formatId);\r
- Exporter[] getExporters(String formatId, String contentTypeId);\r
- Publisher getPublisher(String publisherId);\r
- Publisher getPublisherByLabel(String publisherLabel);\r
- int getPublisherIndex(String publisherId);\r
- \r
- /**\r
- * Get exporters for a content type. The result is priority ordered list.\r
- * \r
- * @param contentTypeId\r
- * @return ordered list of exporters\r
- */\r
- Exporter[] getExportersForContentType(String contentTypeId);\r
- \r
- /**\r
- * Get exporters for a content type. The result is priority ordered list.\r
- * \r
- * @param formatId\r
- * @return ordered list of exporters\r
- */\r
- Exporter[] getExportersForFormat(String formatId);\r
- \r
- \r
-}\r
+package org.simantics.export.core;
+
+import org.simantics.export.core.intf.ContentType;
+import org.simantics.export.core.intf.Discoverer;
+import org.simantics.export.core.intf.Exporter;
+import org.simantics.export.core.intf.Format;
+import org.simantics.export.core.intf.Importer;
+import org.simantics.export.core.intf.Publisher;
+
+/**
+ * Export Extension Point services
+ *
+ * @author toni.kalajainen@semantum.fi
+ */
+public interface ExportExtensionPoint {
+
+ ContentType[] contentTypes();
+ Discoverer[] discoverers();
+ Format[] formats();
+ Importer[] importers();
+ Exporter[] exporters();
+ Publisher[] publishers();
+
+ Discoverer[] getDiscoverers(String contentTypeId);
+ Format getFormat(String formatId);
+ Format getFormatByExt(String fileExt);
+ ContentType getContentType(String contentTypeId);
+ Importer getImporter(String formatId);
+ Exporter[] getExporters(String formatId, String contentTypeId);
+ Publisher getPublisher(String publisherId);
+ Publisher getPublisherByLabel(String publisherLabel);
+ int getPublisherIndex(String publisherId);
+
+ /**
+ * Get exporters for a content type. The result is priority ordered list.
+ *
+ * @param contentTypeId
+ * @return ordered list of exporters
+ */
+ Exporter[] getExportersForContentType(String contentTypeId);
+
+ /**
+ * Get exporters for a content type. The result is priority ordered list.
+ *
+ * @param formatId
+ * @return ordered list of exporters
+ */
+ Exporter[] getExportersForFormat(String formatId);
+
+
+}