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 Details

    • jjtree

      protected JJTAddressListParserState jjtree
    • token_source

      public AddressListParserTokenManager token_source
      Generated Token Manager.
    • jj_input_stream

      SimpleCharStream jj_input_stream
    • token

      public Token token
      Current token.
    • jj_nt

      public Token jj_nt
      Next token.
    • jj_ntk

      private int jj_ntk
    • jj_scanpos

      private Token jj_scanpos
    • jj_lastpos

      private Token jj_lastpos
    • jj_la

      private int jj_la
    • jj_gen

      private int jj_gen
    • jj_la1

      private final int[] jj_la1
    • jj_la1_0

      private static int[] jj_la1_0
    • jj_la1_1

      private static int[] jj_la1_1
    • jj_2_rtns

      private final AddressListParser.JJCalls[] jj_2_rtns
    • jj_rescan

      private boolean jj_rescan
    • jj_gc

      private int jj_gc
    • jj_ls

      private static final AddressListParser.LookaheadSuccess jj_ls
    • jj_expentries

      private List<int[]> jj_expentries
    • jj_expentry

      private int[] jj_expentry
    • jj_kind

      private int jj_kind
    • jj_lasttokens

      private int[] jj_lasttokens
    • jj_endpos

      private int jj_endpos
    • trace_enabled

      private boolean trace_enabled
  • Constructor Details

    • AddressListParser

      public AddressListParser(InputStream stream)
      Constructor with InputStream.
    • AddressListParser

      public AddressListParser(InputStream stream, String encoding)
      Constructor with InputStream and supplied encoding
    • AddressListParser

      public AddressListParser(Reader stream)
      Constructor.
    • AddressListParser

      public AddressListParser(AddressListParserTokenManager tm)
      Constructor with generated Token Manager.
  • Method Details

    • main

      public static void main(String[] args) throws ParseException
      Throws:
      ParseException
    • parseAddressList

      public ASTaddress_list parseAddressList() throws ParseException
      Throws:
      ParseException
    • parseAddress

      public ASTaddress parseAddress() throws ParseException
      Throws:
      ParseException
    • parseMailbox

      public ASTmailbox parseMailbox() throws ParseException
      Throws:
      ParseException
    • jjtreeOpenNodeScope

      void jjtreeOpenNodeScope(Node n)
    • jjtreeCloseNodeScope

      void jjtreeCloseNodeScope(Node n)
    • parseLine

      public final void parseLine() throws ParseException
      Throws:
      ParseException
    • parseAddressList0

      public final void parseAddressList0() throws ParseException
      Throws:
      ParseException
    • parseAddress0

      public final void parseAddress0() throws ParseException
      Throws:
      ParseException
    • parseMailbox0

      public final void parseMailbox0() throws ParseException
      Throws:
      ParseException
    • address_list

      public final void address_list() throws ParseException
      Throws:
      ParseException
    • address

      public final void address() throws ParseException
      Throws:
      ParseException
    • mailbox

      public final void mailbox() throws ParseException
      Throws:
      ParseException
    • name_addr

      public final void name_addr() throws ParseException
      Throws:
      ParseException
    • group_body

      public final void group_body() throws ParseException
      Throws:
      ParseException
    • angle_addr

      public final void angle_addr() throws ParseException
      Throws:
      ParseException
    • route

      public final void route() throws ParseException
      Throws:
      ParseException
    • phrase

      public final void phrase() throws ParseException
      Throws:
      ParseException
    • addr_spec

      public final void addr_spec() throws ParseException
      Throws:
      ParseException
    • local_part

      public final void local_part() throws ParseException
      Throws:
      ParseException
    • domain

      public final void domain() throws ParseException
      Throws:
      ParseException
    • jj_2_1

      private boolean jj_2_1(int xla)
    • jj_2_2

      private boolean jj_2_2(int xla)
    • jj_3R_addr_spec_206_2_8

      private boolean jj_3R_addr_spec_206_2_8()
    • jj_3_1

      private boolean jj_3_1()
    • jj_3R_local_part_213_4_11

      private boolean jj_3R_local_part_213_4_11()
    • jj_3R_domain_225_2_12

      private boolean jj_3R_domain_225_2_12()
    • jj_3R_domain_225_2_10

      private boolean jj_3R_domain_225_2_10()
    • jj_3_2

      private boolean jj_3_2()
    • jj_3R_local_part_212_2_9

      private boolean jj_3R_local_part_212_2_9()
    • jj_3R_domain_226_5_13

      private boolean jj_3R_domain_226_5_13()
    • jj_la1_init_0

      private static void jj_la1_init_0()
    • jj_la1_init_1

      private static void jj_la1_init_1()
    • ReInit

      public void ReInit(InputStream stream)
      Reinitialise.
    • ReInit

      public void ReInit(InputStream stream, String encoding)
      Reinitialise.
    • ReInit

      public void ReInit(Reader stream)
      Reinitialise.
    • ReInit

      public void ReInit(AddressListParserTokenManager tm)
      Reinitialise.
    • jj_consume_token

      private Token jj_consume_token(int kind) throws ParseException
      Throws:
      ParseException
    • jj_scan_token

      private boolean jj_scan_token(int kind)
    • getNextToken

      public final Token getNextToken()
      Get the next Token.
    • getToken

      public final Token getToken(int index)
      Get the specific Token.
    • jj_ntk_f

      private int jj_ntk_f()
    • jj_add_error_token

      private void jj_add_error_token(int kind, int pos)
    • generateParseException

      public ParseException 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.
    • jj_rescan_token

      private void jj_rescan_token()
    • jj_save

      private void jj_save(int index, int xla)