Package net.wimpi.pim.contact.db

Examples of net.wimpi.pim.contact.db.ContactDatabase


    ContactModelFactory cmf = Pim.getContactModelFactory();

    JHylaFAX.initializeToolkit();
    initialize();
   
    ContactDatabase contactDatabase = Pim.getContactDBFactory().createContactDatabase();
   
    // initialize tree content
    DefaultMutableTreeNode localAddressBookTreeNode = new DefaultMutableTreeNode();
    localAddressBook = new ContactCollection(contactDatabase, i18n.tr("Local Address Book"));
    localAddressBookTreeNode.setUserObject(localAddressBook);
View Full Code Here


 
  public void load(File file) throws IOException, ClassNotFoundException
  {
    ObjectInputStream in = new ObjectInputStream(new FileInputStream(file));
    try {
      ContactDatabase contactDatabase = (ContactDatabase)in.readObject();
      localAddressBook.setDatabase(contactDatabase);
    }
    finally {
      in.close();
    }
View Full Code Here

TOP

Related Classes of net.wimpi.pim.contact.db.ContactDatabase

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.