This commit is contained in:
Madeleine Vigier 2022-11-29 16:18:32 +01:00
parent f2202682b6
commit 715a6fa94a
3 changed files with 4 additions and 2 deletions

2
.idea/misc.xml generated
View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="17" project-jdk-type="JavaSDK"> <component name="ProjectRootManager" version="2" languageLevel="JDK_16" project-jdk-name="17" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" /> <output url="file://$PROJECT_DIR$/out" />
</component> </component>
</project> </project>

View File

@ -5,6 +5,7 @@ import java.util.ArrayList;
public class Execute { public class Execute {
public static void main (String[]args){ public static void main (String[]args){
ArrayList<String> data = GeneralMethods.readData("test.csv"); ArrayList<String> data = GeneralMethods.readData("test.csv");
for(String d : data){ for(String d : data){
System.out.println(d); System.out.println(d);
} }

View File

@ -34,7 +34,7 @@ public class GeneralMethods {
/** /**
* Author: Sabine Gubitz * Author: Sabine Gubitz
* *ddd
* The method read Data interprets a file and returns an useable list for other methods. * The method read Data interprets a file and returns an useable list for other methods.
* Files to be read have to use : as a divider between attributes * Files to be read have to use : as a divider between attributes
* *
@ -119,4 +119,5 @@ public class GeneralMethods {
} }
} }
} }