From ada80f74d26a632c1d6960f04f773f4fe51fc10d Mon Sep 17 00:00:00 2001 From: ArghKevin Date: Wed, 8 May 2024 00:07:12 -0700 Subject: Basic CSV parsing. --- src/ComparisonView.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ComparisonView.java') diff --git a/src/ComparisonView.java b/src/ComparisonView.java index ca5929e..631c718 100644 --- a/src/ComparisonView.java +++ b/src/ComparisonView.java @@ -66,7 +66,7 @@ public class ComparisonView extends JFrame { ArrayList metadataList = new ArrayList(); /* Enhanced for loop. */ for (File file : fileList) { - if (file.getPath().endsWith("METADATA.pb")) { + if (file.getPath().endsWith(".pb")) { metadataList.add(file); } } @@ -80,5 +80,6 @@ public class ComparisonView extends JFrame { public static void main(String[] argv) { new ComparisonView(); + new CSVReader(new File("families.csv")); } } -- cgit v1.2.3