wt.jmx.core.mbeans
Class Emailer.SimpleTextProvider
java.lang.Object
wt.jmx.core.mbeans.Emailer.EmailBodyProvider
wt.jmx.core.mbeans.Emailer.SimpleTextProvider
- All Implemented Interfaces:
- Emailer.EmailContentProvider
- Enclosing class:
- Emailer
public static final class Emailer.SimpleTextProvider
- extends Emailer.EmailBodyProvider
Specialization of EmailBodyProvider for text whose type and contents are
known at time of construction. [This class does not leverage the just-in-time
aspects allowed by the EmailBodyProvider interface.]
Supported API: true
Extendable: true
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Emailer.SimpleTextProvider
public Emailer.SimpleTextProvider(String contentString)
- Assumes 'contentString' is plain UTF-8 text.
Supported API: true
- Parameters:
contentString - Intended text of e-mail, assumed to be plain, UTF-8
Emailer.SimpleTextProvider
public Emailer.SimpleTextProvider(String contentString,
String mimeType)
- Constructor which allows specification of MIME type.
Supported API: true
- Parameters:
contentString - Intended text of e-mailmimeType - MIME type of e-mail text