How to read and display a CSV file in Java

Опубликовано: 28 Сентябрь 2024
на канале: vaadinofficial
15,280
135

In this video, Marcus Hellberg shows you how to import a CSV file in Java and display it in a data grid. The tutorial covers loading CSV files from the classpath and uploading files through the browser. The tutorial uses Spring Boot, Maven, OpenCSV, and Vaadin.

0:00 - Introduction
0:27 - Project setup
1:14 - Importing the project in IntelliJ
1:56 - Adding Open CSV dependency to Maven pom.xml
2:26 - Running the application
4:06 - Adding a CSV file to the classpath
4:53 - Creating a data grid for displaying a CSV
6:39 - Reading a CSV from the classpath
7:56 - Reading a CSV with Open CSV and displaying it in a Vaadin Grid
13:43 - Uploading a CSV from the browser
15:43 - Outro

Vaadin Start: https://start.vaadin.com
GitHub: https://github.com/marcushellberg/jav...