Class MimeMessageImpl

java.lang.Object
alt.javax.mail.MessageImpl
alt.javax.mail.internet.MimeMessageImpl
All Implemented Interfaces:
MimeMessage, Message

public class MimeMessageImpl extends MessageImpl implements MimeMessage
  • Constructor Details

    • MimeMessageImpl

      public MimeMessageImpl(Session session)
  • Method Details

    • setRecipient

      public void setRecipient(javax.mail.Message.RecipientType type, Address address) throws MessagingException
      Specified by:
      setRecipient in interface MimeMessage
      Throws:
      MessagingException
    • addRecipient

      public void addRecipient(javax.mail.Message.RecipientType type, Address address) throws MessagingException
      Specified by:
      addRecipient in interface MimeMessage
      Throws:
      MessagingException
    • setFlag

      public void setFlag(Flags.Flag flag, boolean b) throws MessagingException
      Specified by:
      setFlag in interface MimeMessage
      Throws:
      MessagingException
    • getMessageNumber

      public int getMessageNumber()
      Specified by:
      getMessageNumber in interface MimeMessage
    • getFolder

      public Folder getFolder()
      Specified by:
      getFolder in interface MimeMessage
    • isExpunged

      public boolean isExpunged()
      Specified by:
      isExpunged in interface MimeMessage
    • match

      public boolean match(SearchTerm term) throws MessagingException
      Specified by:
      match in interface MimeMessage
      Throws:
      MessagingException
    • getAllRecipients

      public Address[] getAllRecipients() throws MessagingException
      Specified by:
      getAllRecipients in interface MimeMessage
      Throws:
      MessagingException
    • setRecipients

      public void setRecipients(javax.mail.Message.RecipientType type, String s) throws MessagingException
      Specified by:
      setRecipients in interface MimeMessage
      Throws:
      MessagingException
    • addRecipients

      public void addRecipients(javax.mail.Message.RecipientType type, String s) throws MessagingException
      Specified by:
      addRecipients in interface MimeMessage
      Throws:
      MessagingException
    • getReplyTo

      public Address[] getReplyTo() throws MessagingException
      Specified by:
      getReplyTo in interface MimeMessage
      Throws:
      MessagingException
    • setReplyTo

      public void setReplyTo(Address[] addresses) throws MessagingException
      Specified by:
      setReplyTo in interface MimeMessage
      Throws:
      MessagingException
    • setSubject

      public void setSubject(String s, String s1) throws MessagingException
      Specified by:
      setSubject in interface MimeMessage
      Throws:
      MessagingException
    • getEncoding

      public String getEncoding() throws MessagingException
      Specified by:
      getEncoding in interface MimeMessage
      Throws:
      MessagingException
    • getContentID

      public String getContentID() throws MessagingException
      Specified by:
      getContentID in interface MimeMessage
      Throws:
      MessagingException
    • setContentID

      public void setContentID(String s) throws MessagingException
      Specified by:
      setContentID in interface MimeMessage
      Throws:
      MessagingException
    • getContentMD5

      public String getContentMD5() throws MessagingException
      Specified by:
      getContentMD5 in interface MimeMessage
      Throws:
      MessagingException
    • setContentMD5

      public void setContentMD5(String s) throws MessagingException
      Specified by:
      setContentMD5 in interface MimeMessage
      Throws:
      MessagingException
    • setDescription

      public void setDescription(String s, String s1) throws MessagingException
      Specified by:
      setDescription in interface MimeMessage
      Throws:
      MessagingException
    • getContentLanguage

      public String[] getContentLanguage() throws MessagingException
      Specified by:
      getContentLanguage in interface MimeMessage
      Throws:
      MessagingException
    • setContentLanguage

      public void setContentLanguage(String[] strings) throws MessagingException
      Specified by:
      setContentLanguage in interface MimeMessage
      Throws:
      MessagingException
    • getMessageID

      public String getMessageID() throws MessagingException
      Specified by:
      getMessageID in interface MimeMessage
      Throws:
      MessagingException
    • getRawInputStream

      public InputStream getRawInputStream() throws MessagingException
      Specified by:
      getRawInputStream in interface MimeMessage
      Throws:
      MessagingException
    • setText

      public void setText(String s, String s1) throws MessagingException
      Specified by:
      setText in interface MimeMessage
      Throws:
      MessagingException
    • writeTo

      public void writeTo(OutputStream stream, String[] strings) throws IOException, MessagingException
      Specified by:
      writeTo in interface MimeMessage
      Throws:
      IOException
      MessagingException
    • getHeader

      public String getHeader(String s, String s1) throws MessagingException
      Specified by:
      getHeader in interface MimeMessage
      Throws:
      MessagingException
    • addHeaderLine

      public void addHeaderLine(String s) throws MessagingException
      Specified by:
      addHeaderLine in interface MimeMessage
      Throws:
      MessagingException
    • getAllHeaderLines

      public Enumeration getAllHeaderLines() throws MessagingException
      Specified by:
      getAllHeaderLines in interface MimeMessage
      Throws:
      MessagingException
    • getMatchingHeaderLines

      public Enumeration getMatchingHeaderLines(String[] strings) throws MessagingException
      Specified by:
      getMatchingHeaderLines in interface MimeMessage
      Throws:
      MessagingException
    • getNonMatchingHeaderLines

      public Enumeration getNonMatchingHeaderLines(String[] strings) throws MessagingException
      Specified by:
      getNonMatchingHeaderLines in interface MimeMessage
      Throws:
      MessagingException
    • isSet

      public boolean isSet(Flags.Flag flag) throws MessagingException
      Specified by:
      isSet in interface MimeMessage
      Throws:
      MessagingException