Method Summary |
|
public void | addFrom(Address[] addresses) |
public void | addHeader(String name, String value) |
public void | addHeaderLine(String headerLine) |
public void | addRecipient(Message.RecipientType recipientType, Address address) |
public void | addRecipients(Message.RecipientType recipientType, Address[] addresses) |
public void | addRecipients(Message.RecipientType recipientType, String recipient) |
protected InternetHeaders | createInternetHeaders(InputStream inputStream) |
public Enumeration | getAllHeaderLines() |
public Enumeration | getAllHeaders() |
public Address[] | getAllRecipients() |
public Object | getContent() |
public String | getContentID() |
public String[] | getContentLanguage() |
public String | getContentMD5() |
protected InputStream | getContentStream() |
public String | getContentType() |
public synchronized DataHandler | getDataHandler() |
public String | getDescription() |
public String | getDisposition() |
public String | getEncoding() |
public String | getFileName() |
public synchronized Flags | getFlags() |
public Folder | getFolder() |
public Address[] | getFrom() |
public String[] | getHeader(String name) |
public String | getHeader(String name, String delimiter) |
public InputStream | getInputStream() |
public int | getLineCount() |
public Enumeration | getMatchingHeaderLines(String[] names) |
public Enumeration | getMatchingHeaders(String[] names) |
public String | getMessageID() |
public int | getMessageNumber() |
public Enumeration | getNonMatchingHeaderLines(String[] names) |
public Enumeration | getNonMatchingHeaders(String[] names) |
public InputStream | getRawInputStream() |
public Date | getReceivedDate() |
public Address[] | getRecipients(Message.RecipientType recipientType) |
public Address[] | getReplyTo() |
public Address | getSender() |
public Date | getSentDate() |
public int | getSize() |
public String | getSubject() |
public boolean | isExpunged() |
public boolean | isMimeType(String mimeType) |
public synchronized boolean | isSet(Flags.Flag flag) |
public boolean | match(SearchTerm searchTerm) |
public void | removeHeader(String name) |
public Message | reply(boolean b) |
public void | saveChanges() |
public void | setContent(Object object, String mimeType) |
public void | setContent(Multipart multipart) |
public void | setContentID(String contentID) |
public void | setContentLanguage(String[] contentLanguage) |
public void | setContentMD5(String value) |
public synchronized void | setDataHandler(DataHandler dataHandler) |
public void | setDescription(String description) |
public void | setDescription(String description, String charset) |
public void | setDisposition(String disposition) |
protected void | setExpunged(boolean b) |
public void | setFileName(String fileName) |
public void | setFlag(Flags.Flag flag, boolean set) |
public synchronized void | setFlags(Flags flags, boolean set) |
public void | setFrom(Address address) |
public void | setFrom() |
public void | setHeader(String name, String value) |
protected void | setMessageNumber(int i) |
public void | setRecipient(Message.RecipientType recipientType, Address address) |
public void | setRecipients(Message.RecipientType recipientType, Address[] addresses) |
public void | setRecipients(Message.RecipientType recipientType, String recipient) |
public void | setReplyTo(Address[] addresses) |
public void | setSender(Address address) |
public void | setSentDate(Date date) |
public void | setShouldMatch(boolean doMatch) |
public void | setSubject(String subject) |
public void | setSubject(String subject, String charset) |
public void | setText(String string) |
public void | setText(String string, String charset) |
protected void | updateHeaders() |
public void | writeTo(OutputStream outputStream) |
public void | writeTo(OutputStream outputStream, String[] strings) |