Completed reading in the CSV #1

Merged
AustrianToast merged 12 commits from Feature/import_csv into dev 2023-03-17 15:31:57 +01:00
Showing only changes of commit 4ac94f9ce1 - Show all commits

View File

@ -4,12 +4,14 @@ import java.io.FileReader;
import java.io.IOException; import java.io.IOException;
public class Matrix { public class Matrix {
private String[] result;
public static void main(String[] args) { public static void main(String[] args) {
} }
public String[] importCSV(String file) { public String[] importCSV(String file) {
String[] result = new String[100]; result = new String[100];
String line; String line;
try { try {
BufferedReader br = new BufferedReader(new FileReader(file)); BufferedReader br = new BufferedReader(new FileReader(file));