|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.mail.handlers.text_plain
public class text_plain
DataContentHandler for text/plain.
Constructor Summary | |
---|---|
text_plain()
|
Method Summary | |
---|---|
java.lang.Object |
getContent(javax.activation.DataSource ds)
|
protected javax.activation.ActivationDataFlavor |
getDF()
|
java.lang.Object |
getTransferData(java.awt.datatransfer.DataFlavor df,
javax.activation.DataSource ds)
Return the Transfer Data of type DataFlavor from InputStream. |
java.awt.datatransfer.DataFlavor[] |
getTransferDataFlavors()
Return the DataFlavors for this DataContentHandler . |
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public text_plain()
Method Detail |
---|
protected javax.activation.ActivationDataFlavor getDF()
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
DataContentHandler
.
getTransferDataFlavors
in interface javax.activation.DataContentHandler
public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor df, javax.activation.DataSource ds) throws java.io.IOException
getTransferData
in interface javax.activation.DataContentHandler
df
- The DataFlavords
- The DataSource corresponding to the data
java.io.IOException
public java.lang.Object getContent(javax.activation.DataSource ds) throws java.io.IOException
getContent
in interface javax.activation.DataContentHandler
java.io.IOException
public void writeTo(java.lang.Object obj, java.lang.String type, java.io.OutputStream os) throws java.io.IOException
writeTo
in interface javax.activation.DataContentHandler
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |