class Exporters {

    public static void export(ExportersLoader loader, String format, Network network, Properties parameters, DataSource dataSource) {
        Exporter exporter = getExporter(loader, format);
        if (exporter == null) {
            throw new PowsyblException("Export format " + format + " not supported");
        }
        exporter.export(network, parameters, dataSource);
    }

    private  Exporters();

}