public class InputStreamDataSource extends Object implements DataSource
| Constructor and Description |
|---|
InputStreamDataSource(InputStream realStream) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
InputStream |
getInputStream() |
String |
getName() |
OutputStream |
getOutputStream() |
void |
setName(String name) |
public InputStreamDataSource(InputStream realStream)
public String getContentType()
getContentType in interface DataSourcepublic InputStream getInputStream() throws IOException
getInputStream in interface DataSourceIOExceptionpublic void setName(String name)
public String getName()
getName in interface DataSourcepublic OutputStream getOutputStream() throws IOException
getOutputStream in interface DataSourceIOExceptionCopyright © 2019 OpenSource BIM. All rights reserved.