Interface Exporter

  • All Known Implementing Classes:
    AmplExporter, CgmesExport, UcteExporter, XMLExporter

    public interface Exporter
    This is the base class for all IIDM exporters.

    Exporter lookup is based on the ServiceLoader architecture so do not forget to create a META-INF/services/com.powsybl.iidm.export.Exporter file with the fully qualified name of your Exporter implementation.

    Author:
    Geoffroy Jamgotchian
    See Also:
    ServiceLoader, Exporters
    • Method Detail

      • getFormat

        String getFormat()
        Get a unique identifier of the format.
      • getComment

        String getComment()
        Get some information about this exporter.
      • export

        void export​(Network network,
                    Properties parameters,
                    DataSource dataSource)
        Export a model.
        Parameters:
        network - the model
        parameters - some properties to configure the export
        dataSource - data source