All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.simpleflatmapper.lightningcsv.README.md Maven / Gradle / Ivy

Go to download

Java library to map flat record - ResultSet, csv - to java object with minimum configuration and low footprint.

There is a newer version: 9.0.2
Show newest version


Uses header to match to the property.

```java
public class MyParser {
    private final CsvMapper parameterGetterMap =
    	CsvMapperFactory.newInstance().newMapper(MyObject.class);
    public void printAll(Writer writer, Reader reader) throws IOException {
        parameterGetterMap.forEach(reader, (o) -> writer.append(o.toString()).append("\n"));
    }
}
```

Supported type
------

Csv parameterGetterMap can map to :

boolean, byte, char, date, double, enum, float, integer, long short, string

Or any object compose of those. It also can map to list or array.






© 2015 - 2024 Weber Informatics LLC | Privacy Policy