Class AddressListParser
java.lang.Object
org.apache.james.mime4j.field.address.AddressListParser
- All Implemented Interfaces:
AddressListParserConstants,AddressListParserTreeConstants
public class AddressListParser
extends Object
implements AddressListParserTreeConstants, AddressListParserConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionNext token.protected JJTAddressListParserStateCurrent token.Generated Token Manager.Fields inherited from interface org.apache.james.mime4j.field.address.AddressListParserConstants
ALPHA, ANY, ATEXT, COMMENT, DEFAULT, DIGIT, DOMAINLITERAL, DOTATOM, EOF, INCOMMENT, INDOMAINLITERAL, INQUOTEDSTRING, NESTED_COMMENT, QUOTEDPAIR, QUOTEDSTRING, tokenImage, WSFields inherited from interface org.apache.james.mime4j.field.address.AddressListParserTreeConstants
JJTADDR_SPEC, JJTADDRESS, JJTADDRESS_LIST, JJTANGLE_ADDR, JJTDOMAIN, JJTGROUP_BODY, JJTLOCAL_PART, JJTMAILBOX, JJTNAME_ADDR, jjtNodeName, JJTPHRASE, JJTROUTE, JJTVOID -
Constructor Summary
ConstructorsConstructorDescriptionAddressListParser(InputStream stream) Constructor with InputStream.AddressListParser(InputStream stream, String encoding) Constructor with InputStream and supplied encodingAddressListParser(Reader stream) Constructor.Constructor with generated Token Manager. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidfinal voidaddress()final voidfinal voidfinal voidDisable tracing.final voiddomain()final voidEnable tracing.Generate ParseException.final TokenGet the next Token.final TokengetToken(int index) Get the specific Token.final voidfinal voidfinal voidmailbox()static voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidphrase()voidReInit(InputStream stream) Reinitialise.voidReInit(InputStream stream, String encoding) Reinitialise.voidReinitialise.voidReinitialise.final voidroute()final booleanTrace enabled.
-
Field Details
-
jjtree
-
token_source
Generated Token Manager. -
token
Current token. -
jj_nt
Next token.
-
-
Constructor Details
-
AddressListParser
Constructor with InputStream. -
AddressListParser
Constructor with InputStream and supplied encoding -
AddressListParser
Constructor. -
AddressListParser
Constructor with generated Token Manager.
-
-
Method Details
-
main
- Throws:
ParseException
-
parseAddressList
- Throws:
ParseException
-
parseAddress
- Throws:
ParseException
-
parseMailbox
- Throws:
ParseException
-
parseLine
- Throws:
ParseException
-
parseAddressList0
- Throws:
ParseException
-
parseAddress0
- Throws:
ParseException
-
parseMailbox0
- Throws:
ParseException
-
address_list
- Throws:
ParseException
-
address
- Throws:
ParseException
-
mailbox
- Throws:
ParseException
-
name_addr
- Throws:
ParseException
-
group_body
- Throws:
ParseException
-
angle_addr
- Throws:
ParseException
-
route
- Throws:
ParseException
-
phrase
- Throws:
ParseException
-
addr_spec
- Throws:
ParseException
-
local_part
- Throws:
ParseException
-
domain
- Throws:
ParseException
-
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
getNextToken
Get the next Token. -
getToken
Get the specific Token. -
generateParseException
Generate ParseException. -
trace_enabled
public final boolean trace_enabled()Trace enabled. -
enable_tracing
public final void enable_tracing()Enable tracing. -
disable_tracing
public final void disable_tracing()Disable tracing.
-