class RatesCurveGroupDefinitionCsvLoader {

  public static void writeCurveGroup(File file, RatesCurveGroup... groups) {
    try (Writer writer = new OutputStreamWriter(new FileOutputStream(file), StandardCharsets.UTF_8)) {
      writeCurveGroup(writer, groups);
    } catch (IOException ex) {
      throw new UncheckedIOException(ex);
    }
  }

  private  RatesCurveGroupDefinitionCsvLoader();

}