Package com.powsybl.ucte.converter
Class UcteImporter
- java.lang.Object
-
- com.powsybl.ucte.converter.UcteImporter
-
- All Implemented Interfaces:
Importer
@AutoService(Importer.class) public class UcteImporter extends Object implements Importer
- Author:
- Geoffroy Jamgotchian
-
-
Constructor Summary
Constructors Constructor Description UcteImporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
copy(ReadOnlyDataSource fromDataSource, DataSource toDataSource)
Copy data from one data source to another.boolean
exists(ReadOnlyDataSource dataSource)
Check if the data source is importableString
getComment()
Get some information about this importer.String
getFormat()
Get a unique identifier of the format.Network
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.import_.Importer
getParameters, importData, importData
-
-
-
-
Method Detail
-
getFormat
public String getFormat()
Description copied from interface:Importer
Get a unique identifier of the format.
-
getComment
public String getComment()
Description copied from interface:Importer
Get some information about this importer.- Specified by:
getComment
in interfaceImporter
-
exists
public boolean exists(ReadOnlyDataSource dataSource)
Description copied from interface:Importer
Check if the data source is importable
-
copy
public void copy(ReadOnlyDataSource fromDataSource, DataSource toDataSource)
Description copied from interface:Importer
Copy data from one data source to another.
-
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
-
-