Package org.eclipse.angus.mail.handlers
Class image_gif
java.lang.Object
org.eclipse.angus.mail.handlers.handler_base
org.eclipse.angus.mail.handlers.image_gif
- All Implemented Interfaces:
DataContentHandler
- Direct Known Subclasses:
image_jpeg
DataContentHandler for image/gif.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContent(DataSource ds) protected ActivationDataFlavor[]Return an array of ActivationDataFlavors that we support.voidwriteTo(Object obj, String type, OutputStream os) Write the object to the output stream, using the specified MIME type.Methods inherited from class org.eclipse.angus.mail.handlers.handler_base
getData, getTransferData, getTransferDataFlavors
-
Constructor Details
-
image_gif
public image_gif()Creates a defaultimage_gif.
-
-
Method Details
-
getDataFlavors
Description copied from class:handler_baseReturn an array of ActivationDataFlavors that we support. Usually there will be only one.- Specified by:
getDataFlavorsin classhandler_base- Returns:
- array of ActivationDataFlavors that we support
-
getContent
- Throws:
IOException
-
writeTo
Write the object to the output stream, using the specified MIME type.- Throws:
IOException
-