You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



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  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4