Class ContentDispositionParser
java.lang.Object
org.apache.james.mime4j.field.contentdisposition.parser.ContentDispositionParser
- All Implemented Interfaces:
ContentDispositionParserConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate List<int[]> private int[]private int(package private) SimpleCharStreamprivate intprivate final int[]private static int[]Next token.private intprivate final MimeParameterMappingCurrent token.Generated Token Manager.private booleanFields inherited from interface ContentDispositionParserConstants
ANY, ATOKEN, COMMENT, DEFAULT, DIGITS, EOF, INCOMMENT, INQUOTEDSTRING, NESTED_COMMENT, QUOTEDPAIR, QUOTEDSTRING, tokenImage, WS -
Constructor Summary
ConstructorsConstructorDescriptionContentDispositionParser(InputStream stream) Constructor with InputStream.ContentDispositionParser(InputStream stream, String encoding) Constructor with InputStream and supplied encodingContentDispositionParser(Reader stream) Constructor.Constructor with generated Token Manager. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidDisable tracing.final voidEnable tracing.Generate ParseException.final TokenGet the next Token.final TokengetToken(int index) Get the specific Token.private Tokenjj_consume_token(int kind) private static voidprivate intjj_ntk_f()static voidfinal voidfinal voidparse()final voidparseAll()final voidvoidReInit(InputStream stream) Reinitialise.voidReInit(InputStream stream, String encoding) Reinitialise.voidReinitialise.voidReinitialise.final booleanTrace enabled.final Stringvalue()
-
Field Details
-
dispositionType
-
mapping
-
token_source
Generated Token Manager. -
jj_input_stream
SimpleCharStream jj_input_stream -
token
Current token. -
jj_nt
Next token. -
jj_ntk
private int jj_ntk -
jj_gen
private int jj_gen -
jj_la1
private final int[] jj_la1 -
jj_la1_0
private static int[] jj_la1_0 -
jj_expentries
-
jj_expentry
private int[] jj_expentry -
jj_kind
private int jj_kind -
trace_enabled
private boolean trace_enabled
-
-
Constructor Details
-
ContentDispositionParser
Constructor with InputStream. -
ContentDispositionParser
Constructor with InputStream and supplied encoding -
ContentDispositionParser
Constructor. -
ContentDispositionParser
Constructor with generated Token Manager.
-
-
Method Details
-
getDispositionType
-
getParameters
-
main
- Throws:
ParseException
-
parseLine
- Throws:
ParseException
-
parseAll
- Throws:
ParseException
-
parse
- Throws:
ParseException
-
parameter
- Throws:
ParseException
-
value
- Throws:
ParseException
-
jj_la1_init_0
private static void jj_la1_init_0() -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
jj_consume_token
- Throws:
ParseException
-
getNextToken
Get the next Token. -
getToken
Get the specific Token. -
jj_ntk_f
private int jj_ntk_f() -
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.
-