public class Group extends Address
Constructor and Description |
---|
Group(String name,
Collection<Mailbox> mailboxes) |
Group(String name,
Mailbox... mailboxes) |
Group(String name,
MailboxList mailboxes) |
Modifier and Type | Method and Description |
---|---|
protected void |
doAddMailboxesTo(List<Mailbox> results)
Adds any mailboxes represented by this address into the given List.
|
MailboxList |
getMailboxes()
Returns the mailboxes in this group.
|
String |
getName()
Returns the group name.
|
String |
toString() |
public Group(String name, MailboxList mailboxes)
name
- The group name.mailboxes
- The mailboxes in this group.public Group(String name, Mailbox... mailboxes)
name
- The group name.mailboxes
- The mailboxes in this group.public Group(String name, Collection<Mailbox> mailboxes)
name
- The group name.mailboxes
- The mailboxes in this group.public String getName()
public MailboxList getMailboxes()
protected void doAddMailboxesTo(List<Mailbox> results)
Address
doAddMailboxesTo
in class Address
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.