Class multipart_mixed

    • Constructor Detail

      • multipart_mixed

        public multipart_mixed()
    • Method Detail

      • getDataFlavors

        protected 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 java.lang.Object getContent​(DataSource ds)
                                    throws java.io.IOException
        Return the content.
        Throws:
        java.io.IOException
      • writeTo

        public void writeTo​(java.lang.Object obj,
                            java.lang.String mimeType,
                            java.io.OutputStream os)
                     throws java.io.IOException
        Write the object to the output stream, using the specific MIME type.
        Throws:
        java.io.IOException