Class RFC822ToTextConverter

    • Constructor Detail

      • RFC822ToTextConverter

        public RFC822ToTextConverter()
    • Method Detail

      • extractTextFromMessage

        protected Blob extractTextFromMessage​(Blob blob)
      • writeInfo

        protected static void writeInfo​(OutputStream stream,
                                        javax.mail.Address address)
      • writeInfo

        protected static void writeInfo​(OutputStream stream,
                                        javax.mail.Address[] addresses)
      • writeInfo

        protected static void writeInfo​(OutputStream stream,
                                        byte[] info)
      • extractTextFromMessagePart

        protected static byte[] extractTextFromMessagePart​(javax.mail.Part p)
                                                    throws javax.mail.MessagingException,
                                                           IOException
        Throws:
        javax.mail.MessagingException
        IOException
      • getAttachmentParts

        protected static List<javax.mail.Part> getAttachmentParts​(javax.mail.Part p)
                                                           throws javax.mail.MessagingException,
                                                                  IOException
        Throws:
        javax.mail.MessagingException
        IOException
      • init

        public void init​(ConverterDescriptor descriptor)
        Description copied from interface: Converter
        Initializes the Converter.

        This can be used to retrieve some configuration information from the XMap Descriptor.

        Specified by:
        init in interface Converter