org.apache.james.mime4j.dom.address
Class Address

java.lang.Object
  extended by org.apache.james.mime4j.dom.address.Address
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Group, Mailbox

public abstract class Address
extends java.lang.Object
implements java.io.Serializable

The abstract base for classes that represent RFC2822 addresses. This includes groups and mailboxes.

See Also:
Serialized Form

Constructor Summary
Address()
           
 
Method Summary
protected abstract  void doAddMailboxesTo(java.util.List<Mailbox> results)
          Adds any mailboxes represented by this address into the given List.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Address

public Address()
Method Detail

doAddMailboxesTo

protected abstract void doAddMailboxesTo(java.util.List<Mailbox> results)
Adds any mailboxes represented by this address into the given List. Must be overridden by concrete subclasses.



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