public final class InputStreamDataSource extends Object implements DataSource
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_TYPE |
| Constructor and Description |
|---|
InputStreamDataSource(InputStream in) |
InputStreamDataSource(InputStream in,
String ctype) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
InputStream |
getInputStream() |
String |
getName() |
OutputStream |
getOutputStream() |
public static final String DEFAULT_TYPE
public InputStreamDataSource(InputStream in)
public InputStreamDataSource(InputStream in, String ctype)
public String getContentType()
getContentType in interface DataSourcepublic String getName()
getName in interface DataSourcepublic InputStream getInputStream() throws IOException
getInputStream in interface DataSourceIOExceptionpublic OutputStream getOutputStream() throws IOException
getOutputStream in interface DataSourceIOExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved