com.hs.mail.imap.message
Class MailMessage
java.lang.Object
com.hs.mail.imap.message.FetchData
com.hs.mail.imap.message.MailMessage
public class MailMessage
- extends FetchData
- Since:
- May 5, 2010
- Author:
- Won Chul Doh
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getHeader
public MessageHeader getHeader()
setHeader
public void setHeader(MessageHeader header)
getSubject
public String getSubject()
getFrom
public String getFrom()
getReplyTo
public String getReplyTo()
getInputStream
public InputStream getInputStream()
throws IOException
- Throws:
IOException
save
public void save(boolean deleteSrc)
throws IOException
- Throws:
IOException
save
public void save(InputStream is)
throws IOException
- Throws:
IOException
createMailMessage
public static MailMessage createMailMessage(File file)
throws IOException
- Throws:
IOException
createMailMessage
public static MailMessage createMailMessage(File file,
Date internalDate,
javax.mail.Flags flags)
throws IOException
- Throws:
IOException
Copyright © 2011. All Rights Reserved.