@AutoService(value=Importer.class) public class MatpowerImporter extends Object implements Importer
Constructor and Description |
---|
MatpowerImporter() |
Modifier and Type | Method and 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 importable
|
String |
getComment()
Get some information about this importer.
|
String |
getFormat()
Get a unique identifier of the format.
|
List<Parameter> |
getParameters()
Get a description of import parameters
|
Network |
importData(ReadOnlyDataSource dataSource,
NetworkFactory networkFactory,
Properties parameters)
Create a model.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
importData
public boolean exists(ReadOnlyDataSource dataSource)
Importer
public String getComment()
Importer
getComment
in interface Importer
public String getFormat()
Importer
public void copy(ReadOnlyDataSource fromDataSource, DataSource toDataSource)
Importer
public List<Parameter> getParameters()
Importer
getParameters
in interface Importer
public Network importData(ReadOnlyDataSource dataSource, NetworkFactory networkFactory, Properties parameters)
Importer
importData
in interface Importer
dataSource
- data sourcenetworkFactory
- network factoryparameters
- some properties to configure the importCopyright © 2020. All rights reserved.