| java.lang.Object | |
| ↳ | com.google.code.javax.mail.internet.ContentDisposition |
This class represents a MIME ContentDisposition value. It provides methods to parse a ContentDisposition string into individual components and to generate a MIME style ContentDisposition string.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| disposition | |||||||||||
| list | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
No-arg Constructor.
| |||||||||||
Constructor.
| |||||||||||
Constructor that takes a ContentDisposition string.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Return the disposition value.
| |||||||||||
Return the specified parameter value.
| |||||||||||
Return a ParameterList object that holds all the available
parameters.
| |||||||||||
Set the disposition.
| |||||||||||
Set the specified parameter.
| |||||||||||
Set a new ParameterList.
| |||||||||||
Retrieve a RFC2045 style string representation of
this ContentDisposition.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
No-arg Constructor.
Constructor.
| disposition | Disposition |
|---|---|
| list | ParameterList |
Constructor that takes a ContentDisposition string. The String is parsed into its constituents: dispostion and parameters. A ParseException is thrown if the parse fails.
| s | The ContentDisposition string. |
|---|
| ParseException | if the parse fails. |
|---|
Return the disposition value.
Return the specified parameter value. Returns null
if this parameter is absent.
| name |
|---|
Return a ParameterList object that holds all the available parameters. Returns null if no parameters are available.
Set the disposition. Replaces the existing disposition.
| disposition | The disposition |
|---|
Set the specified parameter. If this parameter already exists, it is replaced by this new value.
| name | Parameter name |
|---|---|
| value | Parameter value |
Set a new ParameterList.
| list | ParameterList |
|---|
Retrieve a RFC2045 style string representation of
this ContentDisposition. Returns null if
the conversion failed.