com.gooddata.report.ReportExportFormat Maven / Gradle / Ivy
/**
* Copyright (C) 2004-2016, GoodData(R) Corporation. All rights reserved.
* This source code is licensed under the BSD-style license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
package com.gooddata.report;
/**
* Format of exported report
*/
public enum ReportExportFormat {
PDF, XLS, PNG, CSV, HTML, XLSX;
public String getValue() {
return name().toLowerCase();
}
public static String[] arrayToStringArray(ReportExportFormat... formats) {
String[] fs = new String[formats.length];
for (int i = 0; i < formats.length; i++) {
fs[i] = formats[i].getValue();
}
return fs;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy