Class Group
java.lang.Object
org.apache.james.mime4j.dom.address.Address
org.apache.james.mime4j.dom.address.Group
- All Implemented Interfaces:
Serializable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MailboxListprivate final Stringprivate static final long -
Constructor Summary
ConstructorsConstructorDescriptionGroup(String name, Collection<Mailbox> mailboxes) Group(String name, MailboxList mailboxes) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoAddMailboxesTo(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 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
-
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:AddressAdds any mailboxes represented by this address into the given List. Must be overridden by concrete subclasses.- Specified by:
doAddMailboxesToin classAddress
-
toString
-