BrightSide Workbench Full Report + Source Code
org.turro.vcard.util.ImportFromVCard Class Reference

Public Member Functions

 ImportFromVCard ()
 
List< ContactimportVCard () throws IOException
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 34 of file ImportFromVCard.java.

Constructor & Destructor Documentation

◆ ImportFromVCard()

org.turro.vcard.util.ImportFromVCard.ImportFromVCard ( )

Definition at line 36 of file ImportFromVCard.java.

36  {
37  }

Member Function Documentation

◆ importVCard()

List<Contact> org.turro.vcard.util.ImportFromVCard.importVCard ( ) throws IOException

Definition at line 39 of file ImportFromVCard.java.

39  {
40  List<Contact> clist = new ArrayList<Contact>();
41  VCardList list = VCardFiles.loadVCards();
42  for(VCard v : list) {
43  Contact c = new VCardToContact(v).getContact();
44  if(c == null) continue;
45  clist.add(c);
46  }
47  for(File f : VCardFiles.getFiles()) {
48  f.delete();
49  }
50  return clist;
51  }
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: