Package com.powsybl.contingency.json
Class JsonContingencyListLoader
- java.lang.Object
-
- com.powsybl.contingency.json.JsonContingencyListLoader
-
- All Implemented Interfaces:
ContingencyListLoader
@AutoService(ContingencyListLoader.class) public class JsonContingencyListLoader extends Object implements ContingencyListLoader
- Author:
- Mathieu Bague
-
-
Constructor Summary
Constructors Constructor Description JsonContingencyListLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFormat()
ContingencyList
load(String name, InputStream stream)
-
-
-
Method Detail
-
getFormat
public String getFormat()
- Specified by:
getFormat
in interfaceContingencyListLoader
-
load
public ContingencyList load(String name, InputStream stream) throws IOException
- Specified by:
load
in interfaceContingencyListLoader
- Throws:
IOException
-
-