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