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.AddressToken

java.lang.Object
   |
   +----grendel.storage.addressparser.AddressToken

class  AddressToken
     extends java.lang.Object
{
          // Fields 19
     static final int ADDR_SPEC;
     static final int ATOM;
     static final int COMMENT;
     static final int DOMAIN_LITERAL;
     static final int DOMAIN_REF;
     static final int GROUP;
     static final int MAILBOX;
     static final int MAIL_ADDRESS;
     static final int PHRASE;
     static final int QUOTED_STRING;
     static final int ROUTE;
     static final int ROUTE_ADDR;
     static final int SPECIAL_CHAR;
     static final int SUB_DOMAIN;
     static final int UNKNOWN;
     static final int WORD;
     public int indx1;
     public int indx2;
     public int token_type;

          // Constructors 2
     public AddressToken();
     public AddressToken(int, int, int);

          // Methods 6
     public int getTokenEnd();
     public int getTokenStart();
     public String getTokenString(Vector);
     public int getType();
     public int length();
     public void printToken(Vector);
}



Fields


UNKNOWN

   static final int UNKNOWN


SPECIAL_CHAR

   static final int SPECIAL_CHAR


QUOTED_STRING

   static final int QUOTED_STRING


DOMAIN_LITERAL

   static final int DOMAIN_LITERAL


COMMENT

   static final int COMMENT


ATOM

   static final int ATOM


WORD

   static final int WORD


DOMAIN_REF

   static final int DOMAIN_REF


SUB_DOMAIN

   static final int SUB_DOMAIN


ADDR_SPEC

   static final int ADDR_SPEC


ROUTE

   static final int ROUTE


ROUTE_ADDR

   static final int ROUTE_ADDR


PHRASE

   static final int PHRASE


MAILBOX

   static final int MAILBOX


GROUP

   static final int GROUP


MAIL_ADDRESS

   static final int MAIL_ADDRESS


indx1

   public int indx1


indx2

   public int indx2


token_type

   public int token_type



Constructors


AddressToken

   public AddressToken() 


AddressToken

   public AddressToken(int indx1, 
                       int indx2, 
                       int type) 



Methods


getTokenStart

   public int getTokenStart() 


getTokenEnd

   public int getTokenEnd() 


getType

   public int getType() 


length

   public int length() 


getTokenString

   public String getTokenString(Vector tokens) 


printToken

   public void printToken(Vector tokens) 


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4