public void remove(String destination) throws PasswordException { initializeIfNeeded(); Contact contact = get(destination); if (contact != null) contacts.remove(contact); }
public static Contact getContact(String destination) throws PasswordException { return getInstance().getAddressBook().get(destination); }
if (base64dest != null) { Contact contact = addressBook.get(base64dest); if (contact != null) return contact.getName() + " <" + contact.getBase64Dest() + "@bote>"; // TODO: Make @bote optional
if (base64dest != null) { Contact contact = addressBook.get(base64dest); if (contact != null) return contact.getName();
if (base64dest != null) { Contact contact = addressBook.get(base64dest); if (contact != null) return contact.getName() + " <" + contact.getBase64Dest() + ">";
Contact contact = addressBook.get(destinationString);