public class InputStreamDataSource extends Object implements DataSource
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() |
public InputStreamDataSource(InputStream in, String ctype)
public InputStreamDataSource(InputStream in, String ctype, String name)
public OutputStream getOutputStream() throws IOException
getOutputStream
in interface DataSource
IOException
public String getName()
getName
in interface DataSource
public InputStream getInputStream() throws IOException
getInputStream
in interface DataSource
IOException
public String getContentType()
getContentType
in interface DataSource
Copyright © 2013 Nuxeo SA. All Rights Reserved.