]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.export.core/src/org/simantics/export/core/intf/Importer.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.export.core / src / org / simantics / export / core / intf / Importer.java
diff --git a/bundles/org.simantics.export.core/src/org/simantics/export/core/intf/Importer.java b/bundles/org.simantics.export.core/src/org/simantics/export/core/intf/Importer.java
new file mode 100644 (file)
index 0000000..b4ca832
--- /dev/null
@@ -0,0 +1,23 @@
+package org.simantics.export.core.intf;\r
+\r
+import org.simantics.export.core.error.ExportException;\r
+\r
+/**\r
+ * Importer Extension \r
+ *\r
+ * @author toni.kalajainen@semantum.fi\r
+ */\r
+public interface Importer {\r
+       \r
+       String formatId();\r
+       \r
+       String contentTypeId();\r
+\r
+       /**\r
+        * Code that imports the content using format_type specific reader.\r
+        * @return\r
+        * @throws ExportException \r
+        */\r
+       ImportAction importAction() throws ExportException;\r
+       \r
+}\r