org.apache.axiom.mime

## Interface MultipartWriterFactory

- All Known Implementing Classes:
    AxiomMultipartWriterFactory

      public interface MultipartWriterFactory

  Factory for `MultipartWriter` instances.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `MultipartWriter` | `createMultipartWriter(OutputStream out, String boundary)` Create a new `MultipartWriter` instance that writes a MIME multipart package to a given output stream.

- - ### Method Detail

    - #### createMultipartWriter

          MultipartWriter createMultipartWriter(OutputStream out,
                                                String boundary)

      Create a new `MultipartWriter` instance that writes a MIME multipart package to a given output stream.
      Parameters:
        `out` - The output stream to write the MIME package to.
        `boundary` - The MIME boundary to use. The value should not include the leading dashes, i.e. it is the same value as used in the `boundary` content type parameter.
      Returns:
        the writer instance

Copyright © The Apache Software Foundation. All Rights Reserved.