public interface DataSource
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType()
Returns the MIME content type of the data.
|
InputStream |
getInputStream()
Returns an input stream from which the data can be read.
|
String |
getName()
Returns the underlying name of this object.
|
OutputStream |
getOutputStream()
Returns an output stream to which the data can be written.
|
InputStream getInputStream() throws IOException
IOExceptionOutputStream getOutputStream() throws IOException
IOExceptionString getContentType()
String getName()