Also, in the current implementation, setting the System property mail.mime.decodeparameters.strict
to "true"
will cause a ParseException
to be thrown for errors detected while decoding encoded parameters. By default, if any decoding errors occur, the original (undecoded) string is used.
The current implementation supports the System property mail.mime.parameters.strict
, which if set to false when parsing a parameter list allows parameter values to contain whitespace and other special characters without being quoted; the parameter value ends at the next semicolon. If set to true (the default), parameter values are required to conform to the MIME specification and must be quoted if they contain whitespace or special characters.
@author John Mani
@author Bill Shannon
All comparisons using String
s are done in a case insensitive (but retentive) manner.
@see ParameterListDescriptor
@since JAI 1.1
This class is built on the standard Java Properties class. Consequently, it offers facilities to load and write parameters from/to a file. In the meantime, a ParameterList object can also handle default parameters for each option.
Each parameter can be retrieved as a string or as an specific primitive type (int, float, etc).
For more details see the Properties class.
Note that this class does not support multiple occurrences of parameters (for a parameter name, only one value is possible). Also there is no particular order of the parameters.
@see PropertiesIn general, instances of ParameterList are associated with a particular Query object (the one that created them) and shouldn't be used against another Query.
Parameter indexes are 1-based to match JDBC's PreparedStatement, i.e. the first parameter has index 1. @author Oliver Jowett (oliver@opencloud.com)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|