org.simpleflatmapper.csv.property.CustomReaderFactoryProperty Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sfm-csv Show documentation
Show all versions of sfm-csv 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.csv.property;
import org.simpleflatmapper.csv.CellValueReaderFactory;
import static org.simpleflatmapper.util.Asserts.requireNonNull;
public class CustomReaderFactoryProperty {
private final CellValueReaderFactory readerFactory;
public CustomReaderFactoryProperty(CellValueReaderFactory readerFactory) {
this.readerFactory = requireNonNull("readerFactory", readerFactory);
}
public CellValueReaderFactory getReaderFactory() {
return readerFactory;
}
@Override
public String toString() {
return "CellValueReaderFactory{CellValueReaderFactory}";
}
}