alt.javax.mail.internet

Interface MimeMessage

All Superinterfaces:
Message
Known Implementing Classes:
MimeMessageImpl, MockMimeMessage

public interface MimeMessage
extends Message

Method Summary

void
addHeaderLine(String s)
void
addRecipient(javax.mail.Message.RecipientType type, Address address)
void
addRecipients(javax.mail.Message.RecipientType type, String s)
Enumeration
getAllHeaderLines()
Address[]
getAllRecipients()
String
getContentID()
String[]
getContentLanguage()
String
getContentMD5()
String
getEncoding()
Folder
getFolder()
String
getHeader(String s, String s1)
Enumeration
getMatchingHeaderLines(String[] strings)
String
getMessageID()
int
getMessageNumber()
Enumeration
getNonMatchingHeaderLines(String[] strings)
InputStream
getRawInputStream()
Address[]
getReplyTo()
boolean
isExpunged()
boolean
isSet(Flags.Flag flag)
boolean
match(SearchTerm term)
void
setContentID(String s)
void
setContentLanguage(String[] strings)
void
setContentMD5(String s)
void
setDescription(String s, String s1)
void
setFlag(Flags.Flag flag, boolean b)
void
setRecipient(javax.mail.Message.RecipientType type, Address address)
void
setRecipients(javax.mail.Message.RecipientType type, String s)
void
setReplyTo(Address[] addresses)
void
setSubject(String s, String s1)
void
setText(String s, String s1)
void
writeTo(OutputStream stream, String[] strings)

Methods inherited from interface alt.javax.mail.Message

addFrom, addHeader, addRecipients, getAllHeaders, getContent, getContentType, getDataHandler, getDescription, getDisposition, getFileName, getFlags, getFrom, getHeader, getInputStream, getLineCount, getMatchingHeaders, getNonMatchingHeaders, getRealMessage, getReceivedDate, getRecipients, getSentDate, getSize, getSubject, isMimeType, removeHeader, reply, saveChanges, setContent, setContent, setDataHandler, setDescription, setDisposition, setFileName, setFlags, setFrom, setFrom, setHeader, setRecipients, setSentDate, setSubject, setText, writeTo

Method Details

addHeaderLine

public void addHeaderLine(String s)
            throws MessagingException

addRecipient

public void addRecipient(javax.mail.Message.RecipientType type,
                         Address address)
            throws MessagingException

addRecipients

public void addRecipients(javax.mail.Message.RecipientType type,
                          String s)
            throws MessagingException

getAllHeaderLines

public Enumeration getAllHeaderLines()
            throws MessagingException

getAllRecipients

public Address[] getAllRecipients()
            throws MessagingException

getContentID

public String getContentID()
            throws MessagingException

getContentLanguage

public String[] getContentLanguage()
            throws MessagingException

getContentMD5

public String getContentMD5()
            throws MessagingException

getEncoding

public String getEncoding()
            throws MessagingException

getFolder

public Folder getFolder()

getHeader

public String getHeader(String s,
                        String s1)
            throws MessagingException

getMatchingHeaderLines

public Enumeration getMatchingHeaderLines(String[] strings)
            throws MessagingException

getMessageID

public String getMessageID()
            throws MessagingException

getMessageNumber

public int getMessageNumber()

getNonMatchingHeaderLines

public Enumeration getNonMatchingHeaderLines(String[] strings)
            throws MessagingException

getRawInputStream

public InputStream getRawInputStream()
            throws MessagingException

getReplyTo

public Address[] getReplyTo()
            throws MessagingException

isExpunged

public boolean isExpunged()

isSet

public boolean isSet(Flags.Flag flag)
            throws MessagingException

match

public boolean match(SearchTerm term)
            throws MessagingException

setContentID

public void setContentID(String s)
            throws MessagingException

setContentLanguage

public void setContentLanguage(String[] strings)
            throws MessagingException

setContentMD5

public void setContentMD5(String s)
            throws MessagingException

setDescription

public void setDescription(String s,
                           String s1)
            throws MessagingException

setFlag

public void setFlag(Flags.Flag flag,
                    boolean b)
            throws MessagingException

setRecipient

public void setRecipient(javax.mail.Message.RecipientType type,
                         Address address)
            throws MessagingException

setRecipients

public void setRecipients(javax.mail.Message.RecipientType type,
                          String s)
            throws MessagingException

setReplyTo

public void setReplyTo(Address[] addresses)
            throws MessagingException

setSubject

public void setSubject(String s,
                       String s1)
            throws MessagingException

setText

public void setText(String s,
                    String s1)
            throws MessagingException

writeTo

public void writeTo(OutputStream stream,
                    String[] strings)
            throws IOException,
                   MessagingException

Copyright © 2002 Mock Objects. All Rights Reserved.