Package com.powsybl.security.converter
Class SecurityAnalysisResultExporters
java.lang.Object
com.powsybl.security.converter.SecurityAnalysisResultExporters
A utility class to work with security analysis result exporters
- Author:
- Mathieu Bague <mathieu.bague at rte-france.com>
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
export
(SecurityAnalysisResult result, Writer writer, String format) static void
export
(SecurityAnalysisResult result, Path path, String format) static void
export
(SecurityAnalysisResult result, Properties parameters, Writer writer, String format) static void
export
(SecurityAnalysisResult result, Properties parameters, Path path, String format) getExporter
(String format) Get the exporter for the specified formatstatic Collection<String>
Get all supported formats.
-
Method Details
-
getFormats
Get all supported formats.- Returns:
- the supported formats
-
getExporter
Get the exporter for the specified format- Parameters:
format
- The export format- Returns:
- The exporter for the specified format or null if this format is not supported
-
export
-
export
public static void export(SecurityAnalysisResult result, Properties parameters, Path path, String format) -
export
-
export
public static void export(SecurityAnalysisResult result, Properties parameters, Writer writer, String format)
-