
org.sfm.csv.impl.ParsingContextFactory 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.csv.impl;
public class ParsingContextFactory {
private final String[] dateFormats;
public ParsingContextFactory(int size) {
dateFormats = new String[size];
}
public void setDateFormat(int index, String format) {
dateFormats[index] = format;
}
public ParsingContext newContext() {
return new ParsingContext(dateFormats);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy