com.hs.mail.imap.parser
Class AbstractImapCommandParser

java.lang.Object
  extended by com.hs.mail.imap.parser.AbstractImapCommandParser
Direct Known Subclasses:
CommandParser

public class AbstractImapCommandParser
extends Object

Since:
Jan 20, 2010
Author:
Won Chul Doh

Field Summary
protected  StringBuffer buffer
           
protected  int pos
           
protected  char[] pushback
           
protected  StringReader reader
           
protected  LinkedList<Token> tokens
           
 
Constructor Summary
AbstractImapCommandParser(StringReader in)
           
 
Method Summary
protected  boolean _kw(String pattern)
           
protected  boolean _number()
           
protected  boolean _number(int digits)
           
protected  boolean _sp()
           
protected  boolean astring_char(char c)
           
protected  boolean astring()
          THE COMMAND GRAMMAR STARTS HERE *
protected  boolean atom_char(char c)
           
protected  boolean atom_specials(char c)
           
protected  boolean atom()
           
protected  boolean crlf()
          THE COMMAND GRAMMAR ENDS HERE *
protected  boolean date_time()
           
protected  boolean date()
           
protected  boolean kw(String pattern)
           
protected  boolean list_char(char c)
           
protected  boolean list_wildcard(char c)
           
protected  boolean literal()
           
protected  boolean lparen()
           
protected  void newToken(Token.Type type)
           
protected  boolean number()
           
protected  boolean number(int digits)
           
protected  boolean nz_number()
           
protected  boolean quoted_char(char c)
           
protected  boolean quoted_special(char c)
           
protected  boolean quoted()
           
protected  char read()
           
protected  boolean resp_special(char c)
           
protected  boolean rparen()
           
protected  boolean sequence_set()
           
protected  boolean sp()
           
protected  boolean string()
           
protected  boolean tag_char(char c)
           
protected  void unread()
           
protected  void unreadAll()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reader

protected StringReader reader

pushback

protected char[] pushback

buffer

protected StringBuffer buffer

pos

protected int pos

tokens

protected LinkedList<Token> tokens
Constructor Detail

AbstractImapCommandParser

public AbstractImapCommandParser(StringReader in)
Method Detail

astring

protected boolean astring()
THE COMMAND GRAMMAR STARTS HERE *


astring_char

protected boolean astring_char(char c)

atom

protected boolean atom()

atom_char

protected boolean atom_char(char c)

atom_specials

protected boolean atom_specials(char c)

date

protected boolean date()

date_time

protected boolean date_time()

list_char

protected boolean list_char(char c)

list_wildcard

protected boolean list_wildcard(char c)

literal

protected boolean literal()

number

protected boolean number()

_number

protected boolean _number()

number

protected boolean number(int digits)

_number

protected boolean _number(int digits)

nz_number

protected boolean nz_number()

quoted

protected boolean quoted()

quoted_char

protected boolean quoted_char(char c)

quoted_special

protected boolean quoted_special(char c)

resp_special

protected boolean resp_special(char c)

sequence_set

protected boolean sequence_set()

string

protected boolean string()

crlf

protected boolean crlf()
THE COMMAND GRAMMAR ENDS HERE *


kw

protected boolean kw(String pattern)

_kw

protected boolean _kw(String pattern)

lparen

protected boolean lparen()

rparen

protected boolean rparen()

sp

protected boolean sp()

_sp

protected boolean _sp()

tag_char

protected boolean tag_char(char c)

read

protected char read()

unread

protected void unread()

unreadAll

protected void unreadAll()

newToken

protected void newToken(Token.Type type)


Copyright © 2011. All Rights Reserved.