public class ContentDispositionParser extends Object implements ContentDispositionParserConstants
Modifier and Type | Field and Description |
---|---|
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
ContentDispositionParserTokenManager |
token_source
Generated Token Manager.
|
ANY, ATOKEN, COMMENT, DEFAULT, DIGITS, EOF, INCOMMENT, INQUOTEDSTRING, NESTED_COMMENT, QUOTEDPAIR, QUOTEDSTRING, tokenImage, WS
Constructor and Description |
---|
ContentDispositionParser(ContentDispositionParserTokenManager tm)
Constructor with generated Token Manager.
|
ContentDispositionParser(InputStream stream)
Constructor with InputStream.
|
ContentDispositionParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
ContentDispositionParser(Reader stream)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
disable_tracing()
Disable tracing.
|
void |
enable_tracing()
Enable tracing.
|
ParseException |
generateParseException()
Generate ParseException.
|
String |
getDispositionType() |
Token |
getNextToken()
Get the next Token.
|
List<String> |
getParamNames() |
List<String> |
getParamValues() |
Token |
getToken(int index)
Get the specific Token.
|
static void |
main(String[] args) |
void |
parameter() |
void |
parse() |
void |
parseAll() |
void |
parseLine() |
void |
ReInit(ContentDispositionParserTokenManager tm)
Reinitialise.
|
void |
ReInit(InputStream stream)
Reinitialise.
|
void |
ReInit(InputStream stream,
String encoding)
Reinitialise.
|
void |
ReInit(Reader stream)
Reinitialise.
|
String |
value() |
public ContentDispositionParserTokenManager token_source
public Token token
public Token jj_nt
public ContentDispositionParser(InputStream stream)
public ContentDispositionParser(InputStream stream, String encoding)
public ContentDispositionParser(Reader stream)
public ContentDispositionParser(ContentDispositionParserTokenManager tm)
public String getDispositionType()
public static void main(String[] args) throws ParseException
ParseException
public final void parseLine() throws ParseException
ParseException
public final void parseAll() throws ParseException
ParseException
public final void parse() throws ParseException
ParseException
public final void parameter() throws ParseException
ParseException
public final String value() throws ParseException
ParseException
public void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(ContentDispositionParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.