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

net.sf.doolin.tabular.csv.PrimitiveCSVAdapter Maven / Gradle / Ivy

Go to download

This Doolin GUI module is an extension that allows writing tabular data (CSV, Excel).

The newest version!
package net.sf.doolin.tabular.csv;

import org.apache.commons.lang.ObjectUtils;

/**
 * Just renders the value by calling the toString() method on it.
 * 
 * @author Damien Coraboeuf
 */
public class PrimitiveCSVAdapter implements CSVAdapter {

	/**
	 * Just renders the value by calling the toString() method on
	 * it.
	 * 
	 * @see net.sf.doolin.tabular.csv.CSVAdapter#getCSVValue(java.lang.Object)
	 */
	public String getCSVValue(Object value) {
		return ObjectUtils.toString(value, "");
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy