All Packages This Package Class Hierarchy Class Search Index
Class grendel.storage.addressparser.RFC822Tokenizer
java.lang.Object | +----grendel.storage.addressparser.RFC822Tokenizer
class RFC822Tokenizer extends java.lang.Object { // Fields 17 static final int AT_END; static final char BEGIN_COMMENT; static final char BEGIN_DOMAIN_LITERAL; static final char BEGIN_QUOTE; static final char BEGIN_QUOTE_PAIR; static final char CARRIAGE_RETURN; static final char END_COMMENT; static final char END_DOMAIN_LITERAL; static final char END_QUOTE; static final int IN_ATOM; static final int IN_COMMENT; static final int IN_DOMAIN_LITERAL; static final int IN_NOTHING; static final int IN_QUOTED_TEXT; static final int IN_SPECIAL; private StringStream sstr; private Vector tokens; // Constructors 1 public RFC822Tokenizer(String); // Methods 18 private void addAtom(String, int, int); private void addComment(String, int, int); private void addDomainLiteral(String, int, int); private void addQuotedText(String, int, int); private void addSpecial(String, int, int); public Vector getTokens(); private boolean inAtom(char); private boolean inComment(char); private boolean inDomainLiteral(char); private boolean inNothing(char); private boolean inQuotedText(char); private boolean isSpecial(char); public void showVector(); private int skipAtom(); private int skipComment(); private int skipDomainLiteral(); private int skipNothing(); private int skipQuotedText(); // Inner Classes 1 private class StringStream }
Fields
AT_END
static final int AT_END
IN_NOTHING
static final int IN_NOTHING
IN_ATOM
static final int IN_ATOM
IN_COMMENT
static final int IN_COMMENT
IN_DOMAIN_LITERAL
static final int IN_DOMAIN_LITERAL
IN_QUOTED_TEXT
static final int IN_QUOTED_TEXT
IN_SPECIAL
static final int IN_SPECIAL
BEGIN_COMMENT
static final char BEGIN_COMMENT
END_COMMENT
static final char END_COMMENT
BEGIN_DOMAIN_LITERAL
static final char BEGIN_DOMAIN_LITERAL
END_DOMAIN_LITERAL
static final char END_DOMAIN_LITERAL
BEGIN_QUOTE
static final char BEGIN_QUOTE
END_QUOTE
static final char END_QUOTE
BEGIN_QUOTE_PAIR
static final char BEGIN_QUOTE_PAIR
CARRIAGE_RETURN
static final char CARRIAGE_RETURN
sstr
private StringStream sstr
tokens
private Vector tokens
Constructors
RFC822Tokenizer
public RFC822Tokenizer(String str)
Methods
getTokens
public Vector getTokens()
showVector
public void showVector()
addAtom
private void addAtom(String str, int indx1, int indx2)
Private methods **
addComment
private void addComment(String str, int indx1, int indx2)
addDomainLiteral
private void addDomainLiteral(String str, int indx1, int indx2)
addQuotedText
private void addQuotedText(String str, int indx1, int indx2)
addSpecial
private void addSpecial(String str, int indx1, int indx2)
isSpecial
private boolean isSpecial(char t_char)
inNothing
private boolean inNothing(char t_char)
inAtom
private boolean inAtom(char t_char)
inComment
private boolean inComment(char t_char)
inDomainLiteral
private boolean inDomainLiteral(char t_char)
inQuotedText
private boolean inQuotedText(char t_char)
skipNothing
private int skipNothing()
skipAtom
private int skipAtom()
skipComment
private int skipComment()
skipDomainLiteral
private int skipDomainLiteral()
skipQuotedText
private int skipQuotedText()
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4