repositories {
maven {
url "https://dl.bintray.com/sahurjt/ObjectCsv"
}
}
implementation 'com.sahurjt:objectpref:1.0.0'
<?xml version="1.0" encoding="UTF-8" ?>
<settings xsi:schemaLocation='http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd'
xmlns='http://maven.apache.org/SETTINGS/1.0.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
<profiles>
<profile>
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bintray-sahurjt-ObjectCsv</id>
<name>bintray</name>
<url>https://dl.bintray.com/sahurjt/ObjectCsv</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bintray-sahurjt-ObjectCsv</id>
<name>bintray-plugins</name>
<url>https://dl.bintray.com/sahurjt/ObjectCsv</url>
</pluginRepository>
</pluginRepositories>
<id>bintray</id>
</profile>
</profiles>
<activeProfiles>
<activeProfile>bintray</activeProfile>
</activeProfiles>
</settings>
<dependency>
<groupId>com.sahurjt</groupId>
<artifactId>objectcsv</artifactId>
<version>1.0.0</version>
</dependency>
Complete Example source code
CsvHolder<SampleModel> holder = ObjectCsv.getInstance().from(FILE_PATH).with(CsvDelimiter.COMMA)
.getCsvHolderforClass(SampleModel.class);