Package 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
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
Supported API: true
Extendable: true
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleTextProvider(String contentString) Assumes 'contentString' is plain UTF-8 text.SimpleTextProvider(String contentString, String mimeType) Constructor which allows specification of MIME type. -
Method Summary
-
Constructor Details
-
SimpleTextProvider
Assumes 'contentString' is plain UTF-8 text.
Supported API: true- Parameters:
contentString- Intended text of e-mail, assumed to be plain, UTF-8
-
SimpleTextProvider
Constructor which allows specification of MIME type.
Supported API: true- Parameters:
contentString- Intended text of e-mailmimeType- MIME type of e-mail text
-