All Packages This Package Class Hierarchy Class Search Index
Class grendel.storage.addressparser.RFC822MailboxList
java.lang.Object | +----grendel.storage.addressparser.RFC822AddressList | +----grendel.storage.addressparser.RFC822MailboxList
A subclass of RFC822AddressList. Its purpose is to create a more human readable list of all the addresses of this address list. To that end it flattens RFC822 groups in place into mailbox lists. It also attempts to save those occasions when name information is stored in a comment with an addr-spec instead of being put into the more complete form of (phrase route-addr).
See Also: RFC822AddressList
public class RFC822MailboxList extends grendel.storage.addressparser.RFC822AddressList { // Fields 2 private Vector mailbox_list; private RFC822Mailbox[] mailboxes; // Constructors 1 public RFC822MailboxList(String); // Methods 8 private int addMailboxComments(MailboxToken, int, int, int); private void collectMailboxComments(); private void createMailboxArray(); private void createMailboxList(); public RFC822Mailbox[] getMailboxArray(); private boolean isComment(int); private boolean isMailboxSpacer(int); public int mailboxCount(); }
Fields
mailbox_list
private Vector mailbox_list
mailboxes
private RFC822Mailbox[] mailboxes
Constructors
RFC822MailboxList
public RFC822MailboxList(String str)
Methods
getMailboxArray
public RFC822Mailbox[] getMailboxArray()
- Returns:
- An array of RFC822Mailbox objects. Methods on the object are used to get strings to display.
See Also: RFC822Mailbox
mailboxCount
public int mailboxCount()
createMailboxArray
private void createMailboxArray()
PRIVATE METHODS **
createMailboxList
private void createMailboxList()
collectMailboxComments
private void collectMailboxComments()
addMailboxComments
private int addMailboxComments(MailboxToken mailbox, int all_indx, int sub_start, int sub_end)
isMailboxSpacer
private boolean isMailboxSpacer(int indx)
isComment
private boolean isComment(int indx)
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4