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
public class text_plain extends handler_base
DataContentHandler for text/plain.
-
-
Constructor Summary
Constructors Constructor Description text_plain()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getContent(javax.activation.DataSource ds)
void
writeTo(java.lang.Object obj, java.lang.String type, java.io.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
-
-
-
-
Method Detail
-
getContent
public java.lang.Object getContent(javax.activation.DataSource ds) throws java.io.IOException
- Throws:
java.io.IOException
-
writeTo
public void writeTo(java.lang.Object obj, java.lang.String type, java.io.OutputStream os) throws java.io.IOException
Write the object to the output stream, using the specified MIME type.- Throws:
java.io.IOException
-
-