Class message_rfc822

java.lang.Object
com.sun.mail.handlers.handler_base
com.sun.mail.handlers.message_rfc822
All Implemented Interfaces:
javax.activation.DataContentHandler

public class message_rfc822 extends handler_base
Author:
Christopher Cotton
  • Constructor Details

    • message_rfc822

      public message_rfc822()
  • Method Details

    • getDataFlavors

      protected javax.activation.ActivationDataFlavor[] getDataFlavors()
      Description copied from class: handler_base
      Return an array of ActivationDataFlavors that we support. Usually there will be only one.
      Specified by:
      getDataFlavors in class handler_base
      Returns:
      array of ActivationDataFlavors that we support
    • getContent

      public Object getContent(javax.activation.DataSource ds) throws IOException
      Return the content.
      Throws:
      IOException
    • writeTo

      public void writeTo(Object obj, String mimeType, OutputStream os) throws IOException
      Write the object as a byte stream.
      Throws:
      IOException