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

org.fastnate.data.csv.CsvPropertyConverter Maven / Gradle / Ivy

There is a newer version: 1.5.0
Show newest version
package org.fastnate.data.csv;

/**
 * Used to convert a CSV string to an Java object.
 *
 * @param 
 *            the (minimum) type of the target value
 */
public interface CsvPropertyConverter {

	/**
	 * Converts a value from CSV to Java.
	 *
	 * @param targetType
	 *            the type of the target property
	 * @param value
	 *            the value in CSV
	 * @return the value in Java
	 */
	T convert(Class targetType, String value);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy