|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjavax.activation.URLDataSource
public class URLDataSource
| 构造方法摘要 | |
|---|---|
URLDataSource(URL url)
Creates a URLDataSource from a URL object. |
|
| 方法摘要 | |
|---|---|
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. |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public URLDataSource(URL url)
| 方法详细信息 |
|---|
public String getContentType()
DataSource 中的 getContentTypepublic String getName()
DataSource 中的 getName
public InputStream getInputStream()
throws IOException
DataSource 中的 getInputStreamIOException
public OutputStream getOutputStream()
throws IOException
DataSource 中的 getOutputStreamIOExceptionpublic URL getURL()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||