All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gooddata.report.ReportExportFormat Maven / Gradle / Ivy

There is a newer version: 3.11.1+api3
Show newest version
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