org.oddjob.mail
Class TextPart
java.lang.Object
org.oddjob.mail.TextPart
- All Implemented Interfaces:
- ArooaValue, ValueFactory<MimeBodyPart>
public class TextPart
- extends Object
- implements ValueFactory<MimeBodyPart>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextPart
public TextPart()
toValue
public MimeBodyPart toValue()
throws ArooaConversionException
- Description copied from interface:
ValueFactory
- Provide an instance of the type this is a factory for.
- Specified by:
toValue
in interface ValueFactory<MimeBodyPart>
- Returns:
- An instance of the type. May be null.
- Throws:
ArooaConversionException
- If unable to provide a value.
getText
public String getText()
setText
public void setText(String text)