Package com.powsybl.powerfactory.model
Class JsonProjectLoader
- java.lang.Object
-
- com.powsybl.powerfactory.model.JsonProjectLoader
-
- All Implemented Interfaces:
PowerFactoryDataLoader<Project>
@AutoService(PowerFactoryDataLoader.class) public class JsonProjectLoader extends Object implements PowerFactoryDataLoader<Project>
- Author:
- Geoffroy Jamgotchian
-
-
Constructor Summary
Constructors Constructor Description JsonProjectLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Project
doLoad(String fileName, InputStream is)
Class<Project>
getDataClass()
String
getExtension()
boolean
test(InputStream is)
-
-
-
Method Detail
-
getDataClass
public Class<Project> getDataClass()
- Specified by:
getDataClass
in interfacePowerFactoryDataLoader<Project>
-
getExtension
public String getExtension()
- Specified by:
getExtension
in interfacePowerFactoryDataLoader<Project>
-
test
public boolean test(InputStream is)
- Specified by:
test
in interfacePowerFactoryDataLoader<Project>
-
doLoad
public Project doLoad(String fileName, InputStream is)
- Specified by:
doLoad
in interfacePowerFactoryDataLoader<Project>
-
-