public class RenderedImageDataSource extends Object implements ImageDataSource
| Constructor and Description |
|---|
RenderedImageDataSource(String imageName,
RenderedImage image,
String outputFormat) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
int |
getHeight() |
InputStream |
getInputStream() |
String |
getName() |
OutputStream |
getOutputStream() |
int |
getWidth() |
public RenderedImageDataSource(String imageName, RenderedImage image, String outputFormat)
public String getContentType()
getContentType in interface DataSourcepublic InputStream getInputStream() throws IOException
getInputStream in interface DataSourceIOExceptionpublic String getName()
getName in interface DataSourcepublic OutputStream getOutputStream() throws IOException
getOutputStream in interface DataSourceIOExceptionpublic int getWidth()
getWidth in interface ImageDataSourcepublic int getHeight()
getHeight in interface ImageDataSourceCopyright © 2003–2015 Atlassian. All rights reserved.