Class Group
java.lang.Object
org.apache.james.mime4j.dom.address.Address
org.apache.james.mime4j.dom.address.Group
- All Implemented Interfaces:
Serializable
A named group of zero or more mailboxes.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MailboxList
private final String
private static final long
-
Constructor Summary
ConstructorsConstructorDescriptionGroup
(String name, Collection<Mailbox> mailboxes) Group
(String name, MailboxList mailboxes) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doAddMailboxesTo
(List<Mailbox> results) Adds any mailboxes represented by this address into the given List.Returns the mailboxes in this group.getName()
Returns the group name.toString()
Methods inherited from class org.apache.james.mime4j.dom.address.Address
addMailboxesTo
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
name
-
mailboxList
-
-
Constructor Details
-
Group
- Parameters:
name
- The group name.mailboxes
- The mailboxes in this group.
-
Group
- Parameters:
name
- The group name.mailboxes
- The mailboxes in this group.
-
Group
- Parameters:
name
- The group name.mailboxes
- The mailboxes in this group.
-
-
Method Details
-
getName
Returns the group name. -
getMailboxes
Returns the mailboxes in this group. -
doAddMailboxesTo
Description copied from class:Address
Adds any mailboxes represented by this address into the given List. Must be overridden by concrete subclasses.- Specified by:
doAddMailboxesTo
in classAddress
-
toString
-