Class Address
- java.lang.Object
-
- org.apache.james.mime4j.dom.address.Address
-
- All Implemented Interfaces:
java.io.Serializable
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
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description Address()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) void
addMailboxesTo(java.util.List<Mailbox> results)
Adds any mailboxes represented by this address into the given List.protected abstract void
doAddMailboxesTo(java.util.List<Mailbox> results)
Adds any mailboxes represented by this address into the given List.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
addMailboxesTo
final void addMailboxesTo(java.util.List<Mailbox> results)
Adds any mailboxes represented by this address into the given List. Note that this method has default (package) access, so a doAddMailboxesTo method is needed to allow the behavior to be overridden by subclasses.
-
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.
-
-