public class AddressListParser extends Object implements AddressListParserTreeConstants, AddressListParserConstants
Modifier and Type | Field and Description |
---|---|
Token |
jj_nt
Next token.
|
protected JJTAddressListParserState |
jjtree |
Token |
token
Current token.
|
AddressListParserTokenManager |
token_source
Generated Token Manager.
|
JJTADDR_SPEC, JJTADDRESS, JJTADDRESS_LIST, JJTANGLE_ADDR, JJTDOMAIN, JJTGROUP_BODY, JJTLOCAL_PART, JJTMAILBOX, JJTNAME_ADDR, jjtNodeName, JJTPHRASE, JJTROUTE, JJTVOID
ALPHA, ANY, ATEXT, COMMENT, DEFAULT, DIGIT, DOMAINLITERAL, DOTATOM, EOF, INCOMMENT, INDOMAINLITERAL, INQUOTEDSTRING, NESTED_COMMENT, QUOTEDPAIR, QUOTEDSTRING, tokenImage, WS
Constructor and Description |
---|
AddressListParser(AddressListParserTokenManager tm)
Constructor with generated Token Manager.
|
AddressListParser(InputStream stream)
Constructor with InputStream.
|
AddressListParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
AddressListParser(Reader stream)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addr_spec() |
void |
address_list() |
void |
address() |
void |
angle_addr() |
void |
disable_tracing()
Disable tracing.
|
void |
domain() |
void |
enable_tracing()
Enable tracing.
|
ParseException |
generateParseException()
Generate ParseException.
|
Token |
getNextToken()
Get the next Token.
|
Token |
getToken(int index)
Get the specific Token.
|
void |
group_body() |
void |
local_part() |
void |
mailbox() |
static void |
main(String[] args) |
void |
name_addr() |
ASTaddress |
parseAddress() |
void |
parseAddress0() |
ASTaddress_list |
parseAddressList() |
void |
parseAddressList0() |
void |
parseLine() |
ASTmailbox |
parseMailbox() |
void |
parseMailbox0() |
void |
phrase() |
void |
ReInit(AddressListParserTokenManager tm)
Reinitialise.
|
void |
ReInit(InputStream stream)
Reinitialise.
|
void |
ReInit(InputStream stream,
String encoding)
Reinitialise.
|
void |
ReInit(Reader stream)
Reinitialise.
|
void |
route() |
protected JJTAddressListParserState jjtree
public AddressListParserTokenManager token_source
public Token token
public Token jj_nt
public AddressListParser(InputStream stream)
public AddressListParser(InputStream stream, String encoding)
public AddressListParser(Reader stream)
public AddressListParser(AddressListParserTokenManager tm)
public static void main(String[] args) throws ParseException
ParseException
public ASTaddress_list parseAddressList() throws ParseException
ParseException
public ASTaddress parseAddress() throws ParseException
ParseException
public ASTmailbox parseMailbox() throws ParseException
ParseException
public final void parseLine() throws ParseException
ParseException
public final void parseAddressList0() throws ParseException
ParseException
public final void parseAddress0() throws ParseException
ParseException
public final void parseMailbox0() throws ParseException
ParseException
public final void address_list() throws ParseException
ParseException
public final void address() throws ParseException
ParseException
public final void mailbox() throws ParseException
ParseException
public final void name_addr() throws ParseException
ParseException
public final void group_body() throws ParseException
ParseException
public final void angle_addr() throws ParseException
ParseException
public final void route() throws ParseException
ParseException
public final void phrase() throws ParseException
ParseException
public final void addr_spec() throws ParseException
ParseException
public final void local_part() throws ParseException
ParseException
public final void domain() throws ParseException
ParseException
public void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(AddressListParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.