org.nuxeo.ecm.platform.mail.web.converter
Class MailAddressConverter
java.lang.Object
org.nuxeo.ecm.platform.mail.web.converter.MailAddressConverter
- All Implemented Interfaces:
- Converter
public class MailAddressConverter
- extends Object
- implements Converter
Simple mail address converter: most of the addresses imported from the POP3
or IMAP mailbox simply return the string "null ". To
avoid a list of nulls this converter removes the "null" aliases and only keep
the mail address. Also return a mailto: link to the sender.
- Author:
- Christophe Capon
MailAddressConverter
public MailAddressConverter()
getAsObject
public Object getAsObject(FacesContext ctx,
UIComponent uiComp,
String inStr)
- Specified by:
getAsObject
in interface Converter
getAsString
public String getAsString(FacesContext ctx,
UIComponent uiComp,
Object inObj)
- Specified by:
getAsString
in interface Converter
Copyright © 2011 Nuxeo SAS. All Rights Reserved.