Class handler_base

  • All Implemented Interfaces:
    Direct Known Subclasses:
    image_gif, message_rfc822, multipart_mixed, text_plain

    public abstract class handler_base
    extends java.lang.Object
    implements javax.activation.DataContentHandler
    Base class for other DataContentHandlers.
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.activation.DataContentHandler

        getContent, writeTo
    • Constructor Detail

      • handler_base

        public handler_base()
    • Method Detail

      • getTransferDataFlavors

        public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
        Return the DataFlavors for this DataContentHandler.
        Specified by:
        getTransferDataFlavors in interface javax.activation.DataContentHandler
        The DataFlavors
      • getTransferData

        public java.lang.Object getTransferData​(java.awt.datatransfer.DataFlavor df,
                                                javax.activation.DataSource ds)
        Return the Transfer Data of type DataFlavor from InputStream.
        Specified by:
        getTransferData in interface javax.activation.DataContentHandler
        df - The DataFlavor
        ds - The DataSource corresponding to the data
        the object
        Throws: - for errors reading the data