java.lang.Object
com.powsybl.iidm.network.Importer.ImporterWrapper
- All Implemented Interfaces:
Importer
- Enclosing interface:
- Importer
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.powsybl.iidm.network.Importer
Importer.ImporterWrapper
-
Method Summary
Modifier and TypeMethodDescriptionvoid
copy
(ReadOnlyDataSource fromDataSource, DataSource toDataSource) Copy data from one data source to another.boolean
exists
(ReadOnlyDataSource dataSource) Check if the data source is importableGet some information about this importer.Get a unique identifier of the format.Get a description of import parametersimportData
(ReadOnlyDataSource dataSource, NetworkFactory networkFactory, Properties parameters) Create a model.importData
(ReadOnlyDataSource dataSource, NetworkFactory networkFactory, Properties parameters, Reporter reporter) Create a model.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.powsybl.iidm.network.Importer
importData
-
Method Details
-
getImporter
-
getFormat
Description copied from interface:Importer
Get a unique identifier of the format. -
getParameters
Description copied from interface:Importer
Get a description of import parameters- Specified by:
getParameters
in interfaceImporter
- Returns:
-
getComment
Description copied from interface:Importer
Get some information about this importer.- Specified by:
getComment
in interfaceImporter
-
exists
Description copied from interface:Importer
Check if the data source is importable -
importData
public Network importData(ReadOnlyDataSource dataSource, NetworkFactory networkFactory, Properties parameters, Reporter reporter) Description copied from interface:Importer
Create a model.- Specified by:
importData
in interfaceImporter
- Parameters:
dataSource
- data sourcenetworkFactory
- network factoryparameters
- some properties to configure the importreporter
- the reporter 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 interfaceImporter
- Parameters:
dataSource
- data sourcenetworkFactory
- network factoryparameters
- some properties to configure the import- Returns:
- the model
-
copy
Description copied from interface:Importer
Copy data from one data source to another.
-