| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectjavax.mail.BodyPartjavax.mail.internet.MimeBodyPartField Summary | |
protected byte[] |
|
protected InputStream |
|
protected DataHandler |
|
protected InternetHeaders |
|
Fields inherited from interface javax.mail.Part | |
ATTACHMENT, INLINE | |
Constructor Summary | |
| |
| |
Method Summary | |
void |
|
void |
|
Enumeration | |
Enumeration | |
Object | |
String | |
String[] | |
String | |
protected InputStream | |
String | |
DataHandler | |
String | |
String | |
String | |
String | |
String[] |
|
String |
|
InputStream | |
int | |
Enumeration |
|
Enumeration |
|
Enumeration |
|
Enumeration |
|
InputStream | |
int |
|
boolean |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
protected void | |
void |
|
protected byte[] content
This message's content (unless sourced from a SharedInputStream).
protected InputStream contentStream
If the data for this message was supplied by aSharedInputStreamthen this is another such stream representing the content of this message; if this field is non-null, thencontentwill be null.
protected DataHandler dh
TheDataHandlerfor this Message's content.
public void addHeaderLine(String line)
throws MessagingException
- Specified by:
- addHeaderLine in interface MimePart
public Enumeration getAllHeaderLines()
throws MessagingException
- Specified by:
- getAllHeaderLines in interface MimePart
public Enumeration getAllHeaders()
throws MessagingException
- Specified by:
- getAllHeaders in interface Part
public Object getContent()
throws MessagingException,
IOException
- Specified by:
- getContent in interface Part
public String getContentID()
throws MessagingException
- Specified by:
- getContentID in interface MimePart
public String[] getContentLanguage()
throws MessagingException
- Specified by:
- getContentLanguage in interface MimePart
public String getContentMD5()
throws MessagingException
- Specified by:
- getContentMD5 in interface MimePart
public String getContentType()
throws MessagingException
- Specified by:
- getContentType in interface Part
public DataHandler getDataHandler()
throws MessagingException
- Specified by:
- getDataHandler in interface Part
public String getDescription()
throws MessagingException
- Specified by:
- getDescription in interface Part
public String getDisposition()
throws MessagingException
- Specified by:
- getDisposition in interface Part
public String getEncoding()
throws MessagingException
- Specified by:
- getEncoding in interface MimePart
public String getFileName()
throws MessagingException
- Specified by:
- getFileName in interface Part
public InputStream getInputStream()
throws MessagingException,
IOException
- Specified by:
- getInputStream in interface Part
public int getLineCount()
throws MessagingException
- Specified by:
- getLineCount in interface Part
public Enumeration getMatchingHeaderLines(String[] names)
throws MessagingException
- Specified by:
- getMatchingHeaderLines in interface MimePart
public Enumeration getMatchingHeaders(String[] name)
throws MessagingException
- Specified by:
- getMatchingHeaders in interface Part
public Enumeration getNonMatchingHeaderLines(String[] names)
throws MessagingException
- Specified by:
- getNonMatchingHeaderLines in interface MimePart
public Enumeration getNonMatchingHeaders(String[] name)
throws MessagingException
- Specified by:
- getNonMatchingHeaders in interface Part
public boolean isMimeType(String type)
throws MessagingException
- Specified by:
- isMimeType in interface Part
public void removeHeader(String name)
throws MessagingException
- Specified by:
- removeHeader in interface Part
public void setContent(Object content,
String type)
throws MessagingException
- Specified by:
- setContent in interface Part
public void setContent(Multipart part) throws MessagingException
- Specified by:
- setContent in interface Part
public void setContentLanguage(String[] languages)
throws MessagingException
- Specified by:
- setContentLanguage in interface MimePart
public void setContentMD5(String md5)
throws MessagingException
- Specified by:
- setContentMD5 in interface MimePart
public void setDataHandler(DataHandler handler)
throws MessagingException
- Specified by:
- setDataHandler in interface Part
public void setDescription(String description)
throws MessagingException
- Specified by:
- setDescription in interface Part
public void setDescription(String description,
String charset)
throws MessagingExceptionpublic void setDisposition(String disposition)
throws MessagingException
- Specified by:
- setDisposition in interface Part
public void setFileName(String name)
throws MessagingException
- Specified by:
- setFileName in interface Part