Skip to content

CarinaPorumb/java-csv-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CSV Project

A Java application designed to demonstrate various techniques for parsing and reading CSV data, serving as a recap of my learnings in handling CSV files. This project utilizes the opencsv library for efficient CSV parsing and the Lombok library to minimize boilerplate code.


Features

  • Object Mapping: Converts CSV data into Java objects, facilitating straightforward data manipulation.
  • Manual Parsing: Provides granular control over the parsing process, enabling the application of custom logic and data handling.
  • Basic File Reading: Demonstrates fundamental Java file reading techniques.

Technologies

This application utilizes the following technologies:

Java JDK 21
Maven: 3.9.5
CSV library (opencsv): 5.9
Lombok: 1.18.30

These dependencies are managed by Maven and will be automatically downloaded during the build process. Ensure Maven is installed on your system to manage these dependencies seamlessly.


Setup and Execution

Clone the Repository

Clone the project repository to your local machine using the following command:

git clone https://github.com/CarinaPorumb/CsvProject

Build the Project

After cloning the repository, open your terminal and build the project using Maven by executing the following command:

mvn clean install

Running the Application

Once the project has been successfully built, run the application by executing the main method in the App class.

This process will read data from the Players.csv file located in the src/main/resources directory and output the results to the console.

About

A simple Java project focused on revisiting CSV concepts, using the opencsv library.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages