org.sfm.utils.RowHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simpleFlatMapper Show documentation
Show all versions of simpleFlatMapper Show documentation
Java library to map flat record - ResultSet, csv - to java object with minimum configuration and low footprint.
package org.sfm.utils;
/**
* Functional interface use to provide call back when the mapper is getting new value.
* It is equivalent to a {@link java.util.function.Consumer} apart that it allows for checked Exception.
*
* @param the type of the call back argument
*/
public interface RowHandler {
void handle(T t) throws Exception;
}