com.atlassian.confluence.plugins.dailysummary.content
Class RenderedImageDataSource

java.lang.Object
  extended by 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)
           
 
Method Summary
 java.lang.String getContentType()
           
 int getHeight()
           
 java.io.InputStream getInputStream()
           
 java.lang.String getName()
           
 java.io.OutputStream getOutputStream()
           
 int getWidth()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenderedImageDataSource

public RenderedImageDataSource(java.lang.String imageName,
                               java.awt.image.RenderedImage image,
                               java.lang.String outputFormat)
Method Detail

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-2014 Atlassian. All Rights Reserved.