Package com.powsybl.security.converter
Class SecurityAnalysisResultExporters
- java.lang.Object
-
- com.powsybl.security.converter.SecurityAnalysisResultExporters
-
public final class SecurityAnalysisResultExporters extends Object
A utility class to work with security analysis result exporters- Author:
- Mathieu Bague
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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)
static SecurityAnalysisResultExporter
getExporter(String format)
Get the exporter for the specified formatstatic Collection<String>
getFormats()
Get all supported formats.
-
-
-
Method Detail
-
getFormats
public static Collection<String> getFormats()
Get all supported formats.- Returns:
- the supported formats
-
getExporter
public static SecurityAnalysisResultExporter getExporter(String format)
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
public static void export(SecurityAnalysisResult result, Path path, String format)
-
export
public static void export(SecurityAnalysisResult result, Properties parameters, Path path, String format)
-
export
public static void export(SecurityAnalysisResult result, Writer writer, String format)
-
export
public static void export(SecurityAnalysisResult result, Properties parameters, Writer writer, String format)
-
-