All Packages This Package Class Hierarchy Class Search Index
Class grendel.storage.addressparser.RFC822AddressParser
java.lang.Object | +----grendel.storage.addressparser.RFC822AddressParser
class RFC822AddressParser extends java.lang.Object { // Fields 20 static final int BAD_GROUP; static final int BAD_ROUTE; static final int BAD_ROUTE_DOMAIN; static final int COMMENTS_IN_VECTOR; static final int EXTRA_TOKENS_AT_START; static final int EXTRA_TOKENS_IN_MAILBOX_LIST; static final int EXTRA_TOKENS_IN_ROUTE_ADDR; static final int ILLEGAL_SPECIAL; static final int LIST_OF_ADDRESSES; static final int NO_ADDR_SPEC; static final int NO_DOMAIN; static final int NO_ERROR; static final int NO_LOCAL_PART; static final int NO_PHRASE; static final int NO_ROUTE_ADDR; static final int NO_VECTOR; private Vector address_list; private Vector all_tokens; private int error_code; private Vector tokens; // Constructors 1 public RFC822AddressParser(Vector) throws RFC822ParserException; // Methods 19 private void addMailAddress(AddressToken); private AddressToken collectAddrSpec(int); private AddressToken collectAddress(int, int) throws RFC822ParserException; private GroupToken collectGroup(int) throws RFC822ParserException; private MailboxToken collectMailbox(int) throws RFC822ParserException; private AddressToken collectPhrase(int); private AddressToken collectRoute(int); private AddressToken collectRouteAddr(int); private int findBeginDomain(int); private int findBeginLocalPart(int); private int findBeginPhrase(int); private int findBeginRouteAddr(int); public Vector getAddressList(); public String getErrorString(); public Vector getTokenList(); public boolean isError(); private int skipCommas(int); private int skipForwardCommas(int, int); private Vector stripComments(Vector); }
Fields
NO_ERROR
static final int NO_ERROR
LIST_OF_ADDRESSES
static final int LIST_OF_ADDRESSES
NO_DOMAIN
static final int NO_DOMAIN
NO_VECTOR
static final int NO_VECTOR
COMMENTS_IN_VECTOR
static final int COMMENTS_IN_VECTOR
EXTRA_TOKENS_AT_START
static final int EXTRA_TOKENS_AT_START
NO_ADDR_SPEC
static final int NO_ADDR_SPEC
NO_ROUTE_ADDR
static final int NO_ROUTE_ADDR
BAD_ROUTE
static final int BAD_ROUTE
BAD_ROUTE_DOMAIN
static final int BAD_ROUTE_DOMAIN
EXTRA_TOKENS_IN_ROUTE_ADDR
static final int EXTRA_TOKENS_IN_ROUTE_ADDR
NO_PHRASE
static final int NO_PHRASE
EXTRA_TOKENS_IN_MAILBOX_LIST
static final int EXTRA_TOKENS_IN_MAILBOX_LIST
NO_LOCAL_PART
static final int NO_LOCAL_PART
BAD_GROUP
static final int BAD_GROUP
ILLEGAL_SPECIAL
static final int ILLEGAL_SPECIAL
address_list
private Vector address_list
tokens
private Vector tokens
all_tokens
private Vector all_tokens
error_code
private int error_code
Constructors
RFC822AddressParser
public RFC822AddressParser(Vector tokens) throws RFC822ParserException
Methods
getTokenList
public Vector getTokenList()
isError
public boolean isError()
getErrorString
public String getErrorString()
getAddressList
public Vector getAddressList()
stripComments
private Vector stripComments(Vector tokens)
PRIVATE METHODS **
addMailAddress
private void addMailAddress(AddressToken addr_token)
collectAddress
private AddressToken collectAddress(int start, int end) throws RFC822ParserException
collectGroup
private GroupToken collectGroup(int indx2) throws RFC822ParserException
skipCommas
private int skipCommas(int indx)
skipForwardCommas
private int skipForwardCommas(int indx, int end)
findBeginRouteAddr
private int findBeginRouteAddr(int end)
findBeginDomain
private int findBeginDomain(int end)
findBeginLocalPart
private int findBeginLocalPart(int end)
findBeginPhrase
private int findBeginPhrase(int end)
collectPhrase
private AddressToken collectPhrase(int indx2)
collectRouteAddr
private AddressToken collectRouteAddr(int indx2)
collectAddrSpec
private AddressToken collectAddrSpec(int indx2)
collectRoute
private AddressToken collectRoute(int indx2)
collectMailbox
private MailboxToken collectMailbox(int indx2) throws RFC822ParserException
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4