|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.activation.URLDataSource
public class URLDataSource
| Constructor Summary | |
|---|---|
URLDataSource(URL url)
Creates a URLDataSource from a URL object. |
|
| Method Summary | |
|---|---|
String |
getContentType()
Returns the value of the URL content-type header field. |
InputStream |
getInputStream()
Returns an InputStream obtained from the URL. |
String |
getName()
Returns the file name of the URL object. |
OutputStream |
getOutputStream()
Returns an OutputStream obtained from the URL. |
URL |
getURL()
Returns the URL of the data source. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public URLDataSource(URL url)
| Method Detail |
|---|
public String getContentType()
getContentType in interface DataSourcepublic String getName()
getName in interface DataSource
public InputStream getInputStream()
throws IOException
getInputStream in interface DataSourceIOException
public OutputStream getOutputStream()
throws IOException
getOutputStream in interface DataSourceIOExceptionpublic URL getURL()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||