Class Importer.ImporterWrapper

java.lang.Object
com.powsybl.iidm.network.Importer.ImporterWrapper
All Implemented Interfaces:
Importer
Enclosing interface:
Importer

public static class Importer.ImporterWrapper extends Object implements Importer
  • Method Details

    • getImporter

      public Importer getImporter()
    • getFormat

      public String getFormat()
      Description copied from interface: Importer
      Get a unique identifier of the format.
      Specified by:
      getFormat in interface Importer
    • getParameters

      public List<Parameter> getParameters()
      Description copied from interface: Importer
      Get a description of import parameters
      Specified by:
      getParameters in interface Importer
      Returns:
    • getComment

      public String getComment()
      Description copied from interface: Importer
      Get some information about this importer.
      Specified by:
      getComment in interface Importer
    • exists

      public boolean exists(ReadOnlyDataSource dataSource)
      Description copied from interface: Importer
      Check if the data source is importable
      Specified by:
      exists in interface Importer
      Parameters:
      dataSource - the data source
      Returns:
      true if the data source is importable, false otherwise
    • importData

      public Network importData(ReadOnlyDataSource dataSource, NetworkFactory networkFactory, Properties parameters, ReportNode reportNode)
      Description copied from interface: Importer
      Create a model.
      Specified by:
      importData in interface Importer
      Parameters:
      dataSource - data source
      networkFactory - network factory
      parameters - some properties to configure the import
      reportNode - the reportNode used for functional logs
      Returns:
      the model
    • importData

      public Network importData(ReadOnlyDataSource dataSource, NetworkFactory networkFactory, Properties parameters)
      Description copied from interface: Importer
      Create a model.
      Specified by:
      importData in interface Importer
      Parameters:
      dataSource - data source
      networkFactory - network factory
      parameters - some properties to configure the import
      Returns:
      the model
    • copy

      public void copy(ReadOnlyDataSource fromDataSource, DataSource toDataSource)
      Description copied from interface: Importer
      Copy data from one data source to another.
      Specified by:
      copy in interface Importer
      Parameters:
      fromDataSource - from data source
      toDataSource - destination data source