Package wt.jmx.core.mbeans
Class Emailer.SimpleMultipartProvider
java.lang.Object
wt.jmx.core.mbeans.Emailer.SimpleMultipartProvider
- All Implemented Interfaces:
Emailer.EmailContentProvider
- Enclosing class:
- Emailer
public static final class Emailer.SimpleMultipartProvider
extends Object
implements Emailer.EmailContentProvider
Simple implementation of EmailContentProvider which returns a predesignated
Multipart object. [This class does not leverage the just-in-time aspects
allowed by the EmailContentProvider interface.]
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleMultipartProvider(jakarta.mail.Multipart multipart) Construct instance specifying Multipart object. -
Method Summary
Modifier and TypeMethodDescriptionjakarta.mail.MultipartReturns Multipart object specified in constructor.
-
Constructor Details
-
SimpleMultipartProvider
public SimpleMultipartProvider(jakarta.mail.Multipart multipart) Construct instance specifying Multipart object.
Supported API: true- Parameters:
multipart- Multipart object to be returned by getMultipart()
-
-
Method Details
-
getMultipart
Returns Multipart object specified in constructor.
Supported API: true- Specified by:
getMultipartin interfaceEmailer.EmailContentProvider- Throws:
Exception
-