com.powsybl.loadflow.validation.io.ValidationFormatterCsvWriterFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powsybl-loadflow-validation Show documentation
Show all versions of powsybl-loadflow-validation Show documentation
A tool to check the load-flow results
The newest version!
/**
* Copyright (c) 2017-2018, RTE (http://www.rte-france.com)
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
* SPDX-License-Identifier: MPL-2.0
*/
package com.powsybl.loadflow.validation.io;
import java.io.Writer;
import com.powsybl.commons.io.table.TableFormatterFactory;
import com.powsybl.loadflow.validation.ValidationType;
/**
*
* @author Massimo Ferraro {@literal }
*/
public class ValidationFormatterCsvWriterFactory implements ValidationWriterFactory {
@Override
public ValidationWriter create(String id, Class extends TableFormatterFactory> formatterFactoryClass, Writer writer, boolean verbose, ValidationType validationType, boolean compareResults) {
return new ValidationFormatterCsvWriter(id, formatterFactoryClass, writer, verbose, validationType, compareResults);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy