|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.mflow.impl.ContentHandlerImpl
A JavaBean compliant wrapper for a DataHandler
Method Summary | |
---|---|
java.lang.Object |
getContent()
Returns the data in its preferred Object form. |
java.lang.String |
getContentType()
Return the MIME type of this object as retrieved from the source object. |
javax.activation.DataHandler |
getDataHandler()
Returns the internal DataHandler |
java.awt.datatransfer.DataFlavor[] |
getTransferDataFlavors()
Return the DataFlavors in which this data is available. |
void |
setContent(java.lang.Object o)
Replaces the internal DataHandler with one using the specified content Object |
void |
setContentType(java.lang.String mimeType)
Replaces the internal DataHandler with one using the specified MIME type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.Object getContent()
ContentHandler
getContent
in interface ContentHandler
public java.lang.String getContentType()
ContentHandler
getContentType
in interface ContentHandler
public void setContentType(java.lang.String mimeType)
ContentHandler
setContentType
in interface ContentHandler
mimeType
- the new MIME typepublic void setContent(java.lang.Object o)
ContentHandler
setContent
in interface ContentHandler
o
- the new content Objectpublic javax.activation.DataHandler getDataHandler()
ContentHandler
getDataHandler
in interface ContentHandler
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
ContentHandler
getTransferDataFlavors
in interface ContentHandler
Transferable.getTransferDataFlavors()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |