Package com.sun.mail.handlers
Class text_plain
java.lang.Object
com.sun.mail.handlers.handler_base
com.sun.mail.handlers.text_plain
- All Implemented Interfaces:
javax.activation.DataContentHandler
DataContentHandler for text/plain.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContent(javax.activation.DataSource ds) voidwriteTo(Object obj, String type, OutputStream os) Write the object to the output stream, using the specified MIME type.Methods inherited from class com.sun.mail.handlers.handler_base
getTransferData, getTransferDataFlavors
-
Constructor Details
-
text_plain
public text_plain()
-
-
Method Details
-
getContent
- Throws:
IOException
-
writeTo
Write the object to the output stream, using the specified MIME type.- Throws:
IOException
-