javax.mail.internet
Interface MimePart

All Superinterfaces:
Part
All Known Implementing Classes:
MimeBodyPart, MimeMessage

public interface MimePart
extends Part

Version:
$Revision: 1.3 $ $Date: 2004/03/10 10:00:28 $

Field Summary
 
Fields inherited from interface javax.mail.Part
ATTACHMENT, INLINE
 
Method Summary
 void addHeaderLine(String line)
           
 Enumeration getAllHeaderLines()
           
 String getContentID()
           
 String[] getContentLanguage()
           
 String getContentMD5()
           
 String getEncoding()
           
 String getHeader(String header, String delimiter)
           
 Enumeration getMatchingHeaderLines(String[] names)
           
 Enumeration getNonMatchingHeaderLines(String[] names)
           
 void setContentLanguage(String[] languages)
           
 void setContentMD5(String content)
           
 void setText(String text)
           
 void setText(String text, String charset)
           
 
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
 

Method Detail

addHeaderLine

public void addHeaderLine(String line)
                   throws MessagingException
Throws:
MessagingException

getAllHeaderLines

public Enumeration getAllHeaderLines()
                              throws MessagingException
Throws:
MessagingException

getContentID

public String getContentID()
                    throws MessagingException
Throws:
MessagingException

getContentLanguage

public String[] getContentLanguage()
                            throws MessagingException
Throws:
MessagingException

getContentMD5

public String getContentMD5()
                     throws MessagingException
Throws:
MessagingException

getEncoding

public String getEncoding()
                   throws MessagingException
Throws:
MessagingException

getHeader

public String getHeader(String header,
                        String delimiter)
                 throws MessagingException
Throws:
MessagingException

getMatchingHeaderLines

public Enumeration getMatchingHeaderLines(String[] names)
                                   throws MessagingException
Throws:
MessagingException

getNonMatchingHeaderLines

public Enumeration getNonMatchingHeaderLines(String[] names)
                                      throws MessagingException
Throws:
MessagingException

setContentLanguage

public void setContentLanguage(String[] languages)
                        throws MessagingException
Throws:
MessagingException

setContentMD5

public void setContentMD5(String content)
                   throws MessagingException
Throws:
MessagingException

setText

public void setText(String text)
             throws MessagingException
Specified by:
setText in interface Part
Throws:
MessagingException

setText

public void setText(String text,
                    String charset)
             throws MessagingException
Throws:
MessagingException


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.