Uses of Class
javax.activation.ActivationDataFlavor
-
Packages that use ActivationDataFlavor Package Description com.sun.mail.handlers This package includes internal data handler support classes and SHOULD NOT BE USED DIRECTLY BY APPLICATIONS.javax.activation The JavaBeans(TM) Activation Framework is used by the JavaMail(TM) API to manage MIME data. -
-
Uses of ActivationDataFlavor in com.sun.mail.handlers
Fields in com.sun.mail.handlers declared as ActivationDataFlavor Modifier and Type Field Description private static ActivationDataFlavor[]
text_xml. flavors
private static ActivationDataFlavor[]
image_gif. myDF
private static ActivationDataFlavor[]
image_jpeg. myDF
private static ActivationDataFlavor[]
multipart_mixed. myDF
private static ActivationDataFlavor[]
text_html. myDF
private static ActivationDataFlavor[]
text_plain. myDF
private static ActivationDataFlavor[]
message_rfc822. ourDataFlavor
Methods in com.sun.mail.handlers that return ActivationDataFlavor Modifier and Type Method Description protected abstract ActivationDataFlavor[]
handler_base. getDataFlavors()
Return an array of ActivationDataFlavors that we support.protected ActivationDataFlavor[]
image_gif. getDataFlavors()
protected ActivationDataFlavor[]
image_jpeg. getDataFlavors()
protected ActivationDataFlavor[]
message_rfc822. getDataFlavors()
protected ActivationDataFlavor[]
multipart_mixed. getDataFlavors()
protected ActivationDataFlavor[]
text_html. getDataFlavors()
protected ActivationDataFlavor[]
text_plain. getDataFlavors()
protected ActivationDataFlavor[]
text_xml. getDataFlavors()
ActivationDataFlavor[]
handler_base. getTransferDataFlavors()
Return the DataFlavors for thisDataContentHandler
.Methods in com.sun.mail.handlers with parameters of type ActivationDataFlavor Modifier and Type Method Description protected java.lang.Object
handler_base. getData(ActivationDataFlavor aFlavor, DataSource ds)
Given the flavor that matched, return the appropriate type of object.protected java.lang.Object
text_xml. getData(ActivationDataFlavor aFlavor, DataSource ds)
java.lang.Object
handler_base. getTransferData(ActivationDataFlavor df, DataSource ds)
Return the Transfer Data of type DataFlavor from InputStream. -
Uses of ActivationDataFlavor in javax.activation
Fields in javax.activation declared as ActivationDataFlavor Modifier and Type Field Description private static ActivationDataFlavor[]
DataHandler. emptyFlavors
private ActivationDataFlavor[]
DataHandler. transferFlavors
private ActivationDataFlavor[]
DataSourceDataContentHandler. transferFlavors
private ActivationDataFlavor[]
ObjectDataContentHandler. transferFlavors
Methods in javax.activation that return ActivationDataFlavor Modifier and Type Method Description ActivationDataFlavor[]
DataContentHandler. getTransferDataFlavors()
Returns an array of DataFlavor objects indicating the flavors the data can be provided in.ActivationDataFlavor[]
DataHandler. getTransferDataFlavors()
Return the DataFlavors in which this data is available.ActivationDataFlavor[]
DataSourceDataContentHandler. getTransferDataFlavors()
Return the DataFlavors for thisDataContentHandler
.ActivationDataFlavor[]
ObjectDataContentHandler. getTransferDataFlavors()
Return the DataFlavors for thisDataContentHandler
.Methods in javax.activation with parameters of type ActivationDataFlavor Modifier and Type Method Description boolean
ActivationDataFlavor. equals(ActivationDataFlavor dataFlavor)
Compares the DataFlavor passed in with this DataFlavor; calls theisMimeTypeEqual
method.java.lang.Object
DataContentHandler. getTransferData(ActivationDataFlavor df, DataSource ds)
Returns an object which represents the data to be transferred.java.lang.Object
DataHandler. getTransferData(ActivationDataFlavor flavor)
Returns an object that represents the data to be transferred.java.lang.Object
DataSourceDataContentHandler. getTransferData(ActivationDataFlavor df, DataSource ds)
Return the Transfer Data of type DataFlavor from InputStream.java.lang.Object
ObjectDataContentHandler. getTransferData(ActivationDataFlavor df, DataSource ds)
Return the Transfer Data of type DataFlavor from InputStream.boolean
DataHandler. isDataFlavorSupported(ActivationDataFlavor flavor)
Returns whether the specified data flavor is supported for this object.
-