X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.export.core%2Fsrc%2Forg%2Fsimantics%2Fexport%2Fcore%2Fintf%2FImporter.java;fp=bundles%2Forg.simantics.export.core%2Fsrc%2Forg%2Fsimantics%2Fexport%2Fcore%2Fintf%2FImporter.java;h=b4ca8323d401909705a19b8553d07c247b0ce868;hb=969bd23cab98a79ca9101af33334000879fb60c5;hp=0000000000000000000000000000000000000000;hpb=866dba5cd5a3929bbeae85991796acb212338a08;p=simantics%2Fplatform.git 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 index 000000000..b4ca8323d --- /dev/null +++ b/bundles/org.simantics.export.core/src/org/simantics/export/core/intf/Importer.java @@ -0,0 +1,23 @@ +package org.simantics.export.core.intf; + +import org.simantics.export.core.error.ExportException; + +/** + * Importer Extension + * + * @author toni.kalajainen@semantum.fi + */ +public interface Importer { + + String formatId(); + + String contentTypeId(); + + /** + * Code that imports the content using format_type specific reader. + * @return + * @throws ExportException + */ + ImportAction importAction() throws ExportException; + +}