public class ImageDataSource extends Object implements DataSource
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTENT_TYPE |
protected static org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
ImageDataSource(String name,
Image data) |
ImageDataSource(String name,
String contentType,
Image data) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
InputStream |
getInputStream() |
String |
getName() |
OutputStream |
getOutputStream() |
protected static org.apache.commons.logging.Log log
public static final String CONTENT_TYPE
public String getName()
getName in interface DataSourcepublic String getContentType()
getContentType in interface DataSourcepublic InputStream getInputStream() throws IOException
getInputStream in interface DataSourceIOExceptionpublic OutputStream getOutputStream() throws IOException
getOutputStream in interface DataSourceIOExceptionCopyright © The Apache Software Foundation. All Rights Reserved.