com.atlassian.confluence.plugins.dailysummary.content
Class RenderedImageDataSource
java.lang.Object
com.atlassian.confluence.plugins.dailysummary.content.RenderedImageDataSource
- All Implemented Interfaces:
- ImageDataSource, javax.activation.DataSource
public class RenderedImageDataSource
- extends java.lang.Object
- implements ImageDataSource
Constructor Summary |
RenderedImageDataSource(java.lang.String imageName,
java.awt.image.RenderedImage image,
java.lang.String outputFormat)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RenderedImageDataSource
public RenderedImageDataSource(java.lang.String imageName,
java.awt.image.RenderedImage image,
java.lang.String outputFormat)
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType
in interface javax.activation.DataSource
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
- Specified by:
getInputStream
in interface javax.activation.DataSource
- Throws:
java.io.IOException
getName
public java.lang.String getName()
- Specified by:
getName
in interface javax.activation.DataSource
getOutputStream
public java.io.OutputStream getOutputStream()
throws java.io.IOException
- Specified by:
getOutputStream
in interface javax.activation.DataSource
- Throws:
java.io.IOException
getWidth
public int getWidth()
- Specified by:
getWidth
in interface ImageDataSource
getHeight
public int getHeight()
- Specified by:
getHeight
in interface ImageDataSource
Copyright © 2003-2013 Atlassian. All Rights Reserved.