public class InputStreamDataSource extends Object implements DataSource
| Constructor and Description |
|---|
InputStreamDataSource(InputStream inputStream) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
InputStream |
getInputStream() |
String |
getName() |
OutputStream |
getOutputStream() |
void |
setType(String type) |
public InputStreamDataSource(InputStream inputStream)
public void setType(String type)
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 DataSourceIOExceptionCopyright © 2004–2020 The Apache Software Foundation. All rights reserved.