org.dspace.statistics.Dataset Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dspace-api Show documentation
Show all versions of dspace-api Show documentation
DSpace core data model and service APIs.
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.statistics;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.nio.charset.StandardCharsets;
import java.text.DecimalFormat;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.opencsv.CSVWriterBuilder;
import com.opencsv.ICSVWriter;
import org.apache.commons.lang3.ArrayUtils;
import org.apache.commons.lang3.StringUtils;
/**
* @author kevinvandevelde at atmire.com
* Date: 21-Jan-2009
* Time: 13:44:48
*/
public class Dataset {
private int nbRows;
private int nbCols;
/* The labels shown in our columns */
private List colLabels;
/* The labels shown in our rows */
private List rowLabels;
private String colTitle;
private String rowTitle;
/* The attributes for the colls */
private List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy