Network-RFC822

MailAddressParser
Parse mail addresses. The basic syntax is:
addressList := MailAddressParser addressesIn: aString
This currently only returns the bare addresses, but it could also return a list of the address "source codes". For example, if you give it "Joe <joe@foo>, <jane>", it will currently return a list ('joe@foo' 'jane'). It would be nice to also get a list ('Joe <joe@foo>' '<jane>').
addToAddress
add the last token to the address. removes the token from the collection
addressesIn:
finishAddress
we've finished one address. Bundle it up and add it to the list of addresses
grabAddressWithRoute
grad an address of the form 'Descriptive Text <real.address@c.d.e>
grabAddresses
grab all the addresses in the string
grabBasicAddress
grad an address of the form a.b@c.d.e
grabGroupAddress
grab an address of the form 'phrase : address, address, ..., address;'
initialize:
removePhrase
skip most characters to the left of this
startNewAddress
set up data structures to begin a new address
MailAddressToken
a single token from an RFC822 mail address. Used internally in MailAddressParser
printOn:
Append to the argument, aStream, a sequence of characters that
identifies the receiver.
text
type
type:text:
MailAddressTokenizer
Divides an address into tokens, as specified in RFC 822. Used by MailAddressParser.
atEnd
Answer whether the receiver can access any more objects.
atEndOfChars
forString:
initialize
Subclasses should redefine this method to perform initializations on instance creation
initialize:
next
Answer the next object accessible by the receiver.
nextAtom
nextChar
nextComment
nextDomainLiteral
nextQuotedString
nextSpecial
nextToken
peek
peekChar
skipSeparators
tokensIn: