Class SMIMETestUtil


  • public class SMIMETestUtil
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static boolean DEBUG  
    • Constructor Summary

      Constructors 
      Constructor Description
      SMIMETestUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static javax.mail.internet.MimeBodyPart makeMimeBodyPart​(java.lang.String msg)  
      static javax.mail.internet.MimeBodyPart makeMimeBodyPart​(javax.mail.internet.MimeMultipart mm)  
      static javax.mail.internet.MimeMultipart makeMimeMultipart​(java.lang.String msg1, java.lang.String msg2)  
      static void verifyMessageBytes​(javax.mail.internet.MimeBodyPart a, javax.mail.internet.MimeBodyPart b)  
      static void verifyMessageBytes​(javax.mail.internet.MimeMessage a, javax.mail.internet.MimeBodyPart b)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SMIMETestUtil

        public SMIMETestUtil()
    • Method Detail

      • makeMimeBodyPart

        public static javax.mail.internet.MimeBodyPart makeMimeBodyPart​(java.lang.String msg)
                                                                 throws javax.mail.MessagingException
        Throws:
        javax.mail.MessagingException
      • makeMimeBodyPart

        public static javax.mail.internet.MimeBodyPart makeMimeBodyPart​(javax.mail.internet.MimeMultipart mm)
                                                                 throws javax.mail.MessagingException
        Throws:
        javax.mail.MessagingException
      • makeMimeMultipart

        public static javax.mail.internet.MimeMultipart makeMimeMultipart​(java.lang.String msg1,
                                                                          java.lang.String msg2)
                                                                   throws javax.mail.MessagingException
        Throws:
        javax.mail.MessagingException
      • verifyMessageBytes

        public static void verifyMessageBytes​(javax.mail.internet.MimeBodyPart a,
                                              javax.mail.internet.MimeBodyPart b)
                                       throws java.io.IOException,
                                              javax.mail.MessagingException
        Throws:
        java.io.IOException
        javax.mail.MessagingException
      • verifyMessageBytes

        public static void verifyMessageBytes​(javax.mail.internet.MimeMessage a,
                                              javax.mail.internet.MimeBodyPart b)
                                       throws java.io.IOException,
                                              javax.mail.MessagingException
        Throws:
        java.io.IOException
        javax.mail.MessagingException