Package wt.jmx.core.mbeans
Class Emailer.EmailBodyProvider
java.lang.Object
wt.jmx.core.mbeans.Emailer.EmailBodyProvider
- All Implemented Interfaces:
Emailer.EmailContentProvider
- Direct Known Subclasses:
Emailer.SimpleTextProvider
- Enclosing class:
- Emailer
public abstract static class Emailer.EmailBodyProvider
extends Object
implements Emailer.EmailContentProvider
Convenience implementation of EmailContentProvider interface for use when
the e-mail is to consist of a single, simple body part.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
-
Method Details
-
getMultipart
Uses the results of getMimeType() and getContent() to build and return a single, simple body part.
Supported API: true- Specified by:
getMultipartin interfaceEmailer.EmailContentProvider- Throws:
Exception
-
getMimeType
Responsible for returning MIME type of body part.
Supported API: true- Throws:
Exception
-
getContent
Responsible for returning body part content object.
Supported API: true- Throws:
Exception
-