
org.sfm.map.impl.MapperImpl 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.
The newest version!
package org.sfm.map.impl;
import org.sfm.reflect.Instantiator;
public class MapperImpl extends AbstractMapperImpl {
private final FieldMapper[] fieldMappers;
public MapperImpl(final FieldMapper[] mappers, final Instantiator instantiator) {
super(instantiator);
this.fieldMappers = mappers;
}
protected final void mapFields(final S source, final T target) throws Exception {
for(int i = 0; i < fieldMappers.length; i++) {
fieldMappers[i].map(source, target);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy