|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nist.core.StringTokenizer
gov.nist.core.LexerCore
gov.nist.javax.sip.parser.Lexer
public class Lexer
Lexer class for the parser.
Field Summary |
---|
Fields inherited from class gov.nist.core.LexerCore |
---|
ALPHA, AND, AT, BACK_QUOTE, BACKSLASH, BAR, COLON, DIGIT, DOLLAR, DOT, DOUBLEQUOTE, END, EQUALS, EXCLAMATION, GREATER_THAN, HAT, HT, ID, L_CURLY, L_SQUARE_BRACKET, LESS_THAN, LPAREN, MINUS, NULL, PERCENT, PLUS, POUND, QUESTION, QUOTE, R_CURLY, R_SQUARE_BRACKET, RPAREN, SAFE, SEMICOLON, SLASH, SP, STAR, START, TILDE, UNDERSCORE, WHITESPACE |
Constructor Summary | |
---|---|
Lexer(String lexerName,
String buffer)
|
Method Summary | |
---|---|
static String |
getHeaderName(String line)
get the header name of the line |
static String |
getHeaderValue(String line)
get the header value of the line |
void |
selectLexer(String lexerName)
|
Methods inherited from class gov.nist.core.LexerCore |
---|
byteStringNoComma, byteStringNoSemicolon, byteStringNoSlash, charAsString, charAsString, comment, consumeValidChars, createParseException, getBuffer, getNextId, getNextToken, getPtr, getRest, getString, isTokenChar, lookupToken, markInputPosition, match, number, peekNextId, peekNextToken, peekNextToken, quotedString, rewindInputPosition, SPorHT, startsId, startsSafeToken, ttoken, ttokenSafe |
Methods inherited from class gov.nist.core.StringTokenizer |
---|
consume, consume, getLine, getLines, getNextChar, getNextToken, getSDPFieldName, hasMoreChars, isAlpha, isAlphaDigit, isDigit, isHexDigit, lookAhead, lookAhead, nextToken, peekLine |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Lexer(String lexerName, String buffer)
Method Detail |
---|
public static String getHeaderName(String line)
public static String getHeaderValue(String line)
public void selectLexer(String lexerName)
selectLexer
in class gov.nist.core.LexerCore
|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |