java.lang.Object
javax.mail.internet.ContentDisposition
- public class ContentDisposition
- extends java.lang.Object
- Version:
- $Rev: 54266 $ $Date: 2004-10-10 14:02:50 -0700 (Sun, 10 Oct 2004) $
_disposition
private java.lang.String _disposition
_list
private ParameterList _list
ContentDisposition
public ContentDisposition()
ContentDisposition
public ContentDisposition(java.lang.String disposition)
throws ParseException
ContentDisposition
public ContentDisposition(java.lang.String disposition,
ParameterList list)
getDisposition
public java.lang.String getDisposition()
getParameter
public java.lang.String getParameter(java.lang.String name)
getParameterList
public ParameterList getParameterList()
setDisposition
public void setDisposition(java.lang.String string)
setParameter
public void setParameter(java.lang.String name,
java.lang.String value)
setParameterList
public void setParameterList(ParameterList list)
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null, string concatenation will instead
use "null".
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode()).