javax.mail.internet
Interface MimePart
- All Superinterfaces:
- Part
- All Known Implementing Classes:
- MimeBodyPart, MimeMessage, PreencodedMimeBodyPart
public interface MimePart
- extends Part
- Version:
- $Rev: 467553 $ $Date: 2006-10-25 06:01:51 +0200 (Wed, 25 Oct 2006) $
Methods inherited from interface javax.mail.Part |
addHeader, getAllHeaders, getContent, getContentType, getDataHandler, getDescription, getDisposition, getFileName, getHeader, getInputStream, getLineCount, getMatchingHeaders, getNonMatchingHeaders, getSize, isMimeType, removeHeader, setContent, setContent, setDataHandler, setDescription, setDisposition, setFileName, setHeader, writeTo |
addHeaderLine
void addHeaderLine(java.lang.String line)
throws MessagingException
- Throws:
MessagingException
getAllHeaderLines
java.util.Enumeration getAllHeaderLines()
throws MessagingException
- Throws:
MessagingException
getContentID
java.lang.String getContentID()
throws MessagingException
- Throws:
MessagingException
getContentLanguage
java.lang.String[] getContentLanguage()
throws MessagingException
- Throws:
MessagingException
getContentMD5
java.lang.String getContentMD5()
throws MessagingException
- Throws:
MessagingException
getEncoding
java.lang.String getEncoding()
throws MessagingException
- Throws:
MessagingException
getHeader
java.lang.String getHeader(java.lang.String header,
java.lang.String delimiter)
throws MessagingException
- Throws:
MessagingException
getMatchingHeaderLines
java.util.Enumeration getMatchingHeaderLines(java.lang.String[] names)
throws MessagingException
- Throws:
MessagingException
getNonMatchingHeaderLines
java.util.Enumeration getNonMatchingHeaderLines(java.lang.String[] names)
throws MessagingException
- Throws:
MessagingException
setContentLanguage
void setContentLanguage(java.lang.String[] languages)
throws MessagingException
- Throws:
MessagingException
setContentMD5
void setContentMD5(java.lang.String content)
throws MessagingException
- Throws:
MessagingException
setText
void setText(java.lang.String text)
throws MessagingException
- Specified by:
setText
in interface Part
- Throws:
MessagingException
setText
void setText(java.lang.String text,
java.lang.String charset)
throws MessagingException
- Throws:
MessagingException
setText
void setText(java.lang.String text,
java.lang.String charset,
java.lang.String subType)
throws MessagingException
- Throws:
MessagingException
Copyright © 2009. All Rights Reserved.