javax.activation
public class URLDataSource extends Object implements DataSource
| Constructor Summary | |
|---|---|
| URLDataSource(URL url)
Constructor.
| |
| Method Summary | |
|---|---|
| String | getContentType()
Returns the Content-Type header for the URL.
|
| InputStream | getInputStream() |
| String | getName()
Returns the result of getFile of the underlying URL. |
| OutputStream | getOutputStream() |
| URL | getURL()
Returns the underlying URL. |
getFile of the underlying URL.