Class JavaMailMultipartWriterFactory
- java.lang.Object
-
- org.apache.axiom.mime.impl.javamail.JavaMailMultipartWriterFactory
-
- All Implemented Interfaces:
MultipartWriterFactory
public class JavaMailMultipartWriterFactory extends Object implements MultipartWriterFactory
Deprecated.The original purpose of this class was to provide an alternative implementation should bugs be discovered inAxiomMultipartWriterFactory
. However,AxiomMultipartWriterFactory
exists for several releases now and has no known issues. It should therefore always be used asMultipartWriterFactory
implementation.Factory for the JavaMail basedMultipartWriter
implementation.
-
-
Field Summary
Fields Modifier and Type Field Description static MultipartWriterFactory
INSTANCE
Deprecated.
-
Constructor Summary
Constructors Constructor Description JavaMailMultipartWriterFactory()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MultipartWriter
createMultipartWriter(OutputStream out, String boundary)
Deprecated.Create a newMultipartWriter
instance that writes a MIME multipart package to a given output stream.
-
-
-
Field Detail
-
INSTANCE
public static final MultipartWriterFactory INSTANCE
Deprecated.
-
-
Method Detail
-
createMultipartWriter
public MultipartWriter createMultipartWriter(OutputStream out, String boundary)
Deprecated.Description copied from interface:MultipartWriterFactory
Create a newMultipartWriter
instance that writes a MIME multipart package to a given output stream.- Specified by:
createMultipartWriter
in 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 theboundary
content type parameter.- Returns:
- the writer instance
-
-