18 package org.turro.vcard.util;
21 import java.io.IOException;
22 import java.util.ArrayList;
23 import java.util.List;
24 import org.turro.contacts.Contact;
25 import org.turro.csv.CSVEntry;
26 import org.turro.csv.CSVList;
27 import org.turro.vcard.CSVToContact;
28 import org.turro.vcard.CSVToRelation;
29 import org.turro.vcard.db.VCardFiles;
40 public List<Contact>
importCSV() throws IOException {
42 List<Contact> clist =
new ArrayList<>();
44 for(CSVEntry v : list) {
46 if(c ==
null)
continue;
57 private void importCSVRels() throws IOException {
59 for(CSVEntry v : list) {
62 for(File f : VCardFiles.getCSVRels()) {
static CSVList loadCSVRels()
static CSVList loadCSVs()
List< Contact > importCSV()