1 package org.simantics.export.core.intf;
3 import org.simantics.export.core.error.ExportException;
6 * Exporter exports content for one specific format.
8 * @author toni.kalajainen@semantum.fi
10 public interface Exporter {
13 * Identifier for the file format, eg. "pdf", "tg", "csv".
19 * The identifier to the content type, that this definition can export.
22 String contentTypeId();
25 * Code that exports the content into format specific writer.
27 * @throws ExportException
29 ExportClass exportAction() throws ExportException;
32 * Priority of this exporter in comparison to other exporters for the
33 * content. The smaller the number the higher the priority.
37 int getExportPriority();