org.simpleflatmapper.map.FieldMapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sfm-map Show documentation
Show all versions of sfm-map Show documentation
Java library to map flat record - ResultSet, csv - to java object with minimum configuration and low footprint.
The newest version!
package org.simpleflatmapper.map;
public interface FieldMapper {
/**
* map source object to target object.
* @param source object to map from
* @param target object to map to
* @param context the mapping context
* @throws Exception if an exception occurs
*/
void mapTo(S source, T target, MappingContext super S> context) throws Exception;
}