Class SensitivityAnalysisResultExporters
- java.lang.Object
-
- com.powsybl.sensitivity.converter.SensitivityAnalysisResultExporters
-
public final class SensitivityAnalysisResultExporters extends Object
A utility class to work with sensitivity analysis result exporters- Author:
- Sebastien Murgey <sebastien.murgey at rte-france.com>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
export(SensitivityAnalysisResult result, Writer writer, String format)
Export sensitivity analysis results in specified format and writerstatic void
export(SensitivityAnalysisResult result, Path path, String format)
Export sensitivity analysis results in specified format and output pathstatic SensitivityAnalysisResultExporter
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 SensitivityAnalysisResultExporter 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(SensitivityAnalysisResult result, Path path, String format)
Export sensitivity analysis results in specified format and output path- Parameters:
result
- The results to be exportedpath
- The export pathformat
- The export format
-
export
public static void export(SensitivityAnalysisResult result, Writer writer, String format)
Export sensitivity analysis results in specified format and writer- Parameters:
result
- The results to be exportedwriter
- The export writerformat
- The export format
-
-