Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.james.mime4j.field.address
Class Group

    java.lang.Object
      org.apache.james.mime4j.field.address.Address
          org.apache.james.mime4j.field.address.Group

    public class Group

extends Address

A named group of zero or more mailboxes.

Constructor Summary
`Group(java.lang.String name, MailboxList mailboxes)`

Method Summary
`protected void` | `doAddMailboxesTo(java.util.ArrayList results)` Adds any mailboxes represented by this address into the given ArrayList.
`MailboxList` | `getMailboxes()` Returns the mailboxes in this group.
`java.lang.String` | `getName()` Returns the group name.
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### Group

    public Group(java.lang.String name,
                 MailboxList mailboxes)

Parameters:
  `name` - The group name.
  `mailboxes` - The mailboxes in this group.

Method Detail

### getName

    public java.lang.String getName()

  Returns the group name.

### getMailboxes

    public MailboxList getMailboxes()

  Returns the mailboxes in this group.

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

### doAddMailboxesTo

    protected void doAddMailboxesTo(java.util.ArrayList results)

  Description copied from class: `Address`
  Adds any mailboxes represented by this address into the given ArrayList. Must be overridden by concrete subclasses.

  Specified by:
    `doAddMailboxesTo` in class `Address`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.