com.hs.mail.imap.processor.fetch
Class Address

java.lang.Object
  extended by com.hs.mail.imap.processor.fetch.Address

public class Address
extends Object

Since:
Mar 8, 2010
Author:
Won Chul Doh

Field Summary
static Address[] EMPTY
          Empty array
 
Constructor Summary
Address(String atDomainList, String hostName, String mailboxName, String personalName)
           
 
Method Summary
 String getAtDomainList()
          Gets the SMTP source route.
 String getHostName()
          Gets the host name.
 String getMailboxName()
          Gets the mailbox name.
 String getPersonalName()
          Gets the personal name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY

public static final Address[] EMPTY
Empty array

Constructor Detail

Address

public Address(String atDomainList,
               String hostName,
               String mailboxName,
               String personalName)
Method Detail

getPersonalName

public String getPersonalName()
Gets the personal name.

Returns:
personal name, or null if the personal name is NIL

getAtDomainList

public String getAtDomainList()
Gets the SMTP source route.

Returns:
SMTP at-domain-list, or null if the list if NIL

getMailboxName

public String getMailboxName()
Gets the mailbox name.

Returns:
the mailbox name or the group name when getHostName() is null

getHostName

public String getHostName()
Gets the host name.

Returns:
the host name, or null when this address marks the start or end of a group


Copyright © 2011. All Rights Reserved.