Package com.sun.mail.handlers
Class text_xml
- java.lang.Object
-
- com.sun.mail.handlers.handler_base
-
- com.sun.mail.handlers.text_plain
-
- com.sun.mail.handlers.text_xml
-
- All Implemented Interfaces:
javax.activation.DataContentHandler
public class text_xml extends text_plain
DataContentHandler for text/xml.
-
-
Constructor Summary
Constructors Constructor Description text_xml()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwriteTo(java.lang.Object obj, java.lang.String mimeType, java.io.OutputStream os)Write the object to the output stream, using the specified MIME type.-
Methods inherited from class com.sun.mail.handlers.text_plain
getContent
-
Methods inherited from class com.sun.mail.handlers.handler_base
getTransferData, getTransferDataFlavors
-
-
-
-
Method Detail
-
writeTo
public void writeTo(java.lang.Object obj, java.lang.String mimeType, java.io.OutputStream os) throws java.io.IOExceptionDescription copied from class:text_plainWrite the object to the output stream, using the specified MIME type.- Specified by:
writeToin interfacejavax.activation.DataContentHandler- Overrides:
writeToin classtext_plain- Throws:
java.io.IOException
-
-