Class ExampleUtils


  • public class ExampleUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ExampleUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void dumpContent​(javax.mail.internet.MimeBodyPart bodyPart, java.lang.String fileName)
      Dump the content of the passed in BodyPart to the file fileName.
      static java.lang.String findKeyAlias​(java.security.KeyStore store, java.lang.String storeName, char[] password)  
      • Methods inherited from class java.lang.Object

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

      • ExampleUtils

        public ExampleUtils()
    • Method Detail

      • dumpContent

        public static void dumpContent​(javax.mail.internet.MimeBodyPart bodyPart,
                                       java.lang.String fileName)
                                throws javax.mail.MessagingException,
                                       java.io.IOException
        Dump the content of the passed in BodyPart to the file fileName.
        Throws:
        javax.mail.MessagingException
        java.io.IOException
      • findKeyAlias

        public static java.lang.String findKeyAlias​(java.security.KeyStore store,
                                                    java.lang.String storeName,
                                                    char[] password)
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception