public class InputStreamDataSource extends Object implements DataSource
| Modifier and Type | Field and Description | 
|---|---|
protected String | 
ctype  | 
protected InputStream | 
in  | 
protected String | 
name  | 
| Constructor and Description | 
|---|
InputStreamDataSource(InputStream in,
                     String ctype)  | 
InputStreamDataSource(InputStream in,
                     String ctype,
                     String name)  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getContentType()  | 
InputStream | 
getInputStream()  | 
String | 
getName()  | 
OutputStream | 
getOutputStream()  | 
protected final InputStream in
public InputStreamDataSource(InputStream in, String ctype)
public InputStreamDataSource(InputStream in, String ctype, String name)
public OutputStream getOutputStream() throws IOException
getOutputStream in interface DataSourceIOExceptionpublic String getName()
getName in interface DataSourcepublic InputStream getInputStream() throws IOException
getInputStream in interface DataSourceIOExceptionpublic String getContentType()
getContentType in interface DataSourceCopyright © 2019 Nuxeo. All rights reserved.