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

org.sfm.csv.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: 2.9.8
Show newest version


Uses header to match to the property.

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

Supported type
------

Csv mapper 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 - 2025 Weber Informatics LLC | Privacy Policy