package SimpleCSVParser;
import java.io.*;

public class SimpleCSVParser {
    public static void main(String[] args) {
        String csvFile = "example.csv";
        String line;
        try (BufferedReader br = new BufferedReader(new FileReader(csvFile))) {
            while ((line = br.readLine()) != null) {
                String[] values = line.split(",");
                for (String value : values) {
                    System.out.print(value + " ");
                }
                System.out.println();
            }
        } catch (IOException e) {
            System.out.println("오류 발생: " + e.getMessage());
        }
    }
}
