Class JavaMailMultipartWriterFactory
java.lang.Object
org.apache.axiom.mime.impl.javamail.JavaMailMultipartWriterFactory
- All Implemented Interfaces:
MultipartWriterFactory
Factory for the JavaMail based
MultipartWriter implementation.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateMultipartWriter(OutputStream out, String boundary) Create a newMultipartWriterinstance that writes a MIME multipart package to a given output stream.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
JavaMailMultipartWriterFactory
public JavaMailMultipartWriterFactory()
-
-
Method Details
-
createMultipartWriter
Description copied from interface:MultipartWriterFactoryCreate a newMultipartWriterinstance that writes a MIME multipart package to a given output stream.- Specified by:
createMultipartWriterin interfaceMultipartWriterFactory- 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
-