diff options
author | ArghKevin <kagheli@student.sdccd.edu> | 2024-05-08 00:07:12 -0700 |
---|---|---|
committer | ArghKevin <kagheli@student.sdccd.edu> | 2024-05-08 00:07:12 -0700 |
commit | ada80f74d26a632c1d6960f04f773f4fe51fc10d (patch) | |
tree | 8e68c1b5f35d5c14bb9093fa4f792329361d3995 /src/ComparisonView.java | |
parent | 9ac10f4ae9ab23f030084b766610741c2e9c1c0c (diff) |
Basic CSV parsing.
Diffstat (limited to 'src/ComparisonView.java')
-rw-r--r-- | src/ComparisonView.java | 3 |
1 files changed, 2 insertions, 1 deletions
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<File> metadataList = new ArrayList<File>(); /* 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")); } } |