|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcn.dreampie.resource.HttpResource
public class HttpResource
| 构造方法摘要 | |
|---|---|
HttpResource(String url)
|
|
HttpResource(URI url)
|
|
| 方法摘要 | |
|---|---|
Resource |
createRelative(String relativeResourcePath)
Creates relative resource for current resource. |
boolean |
exists()
Tests if resource exists. |
InputStream |
getInputStream()
Returns resource input stream. |
String |
getName()
Returns a unique name for this resource. |
long |
lastModified()
Returns the time that the LESS source was last modified. |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public HttpResource(String url)
throws URISyntaxException
URISyntaxExceptionpublic HttpResource(URI url)
| 方法详细信息 |
|---|
public boolean exists()
Resource 复制的描述
Resource 中的 existspublic long lastModified()
Resource 复制的描述
Resource 中的 lastModifiedlong value representing the time the resource was last modified, measured in milliseconds
since the epoch (00:00:00 GMT, January 1, 1970).
public InputStream getInputStream()
throws IOException
Resource 复制的描述
Resource 中的 getInputStreamIOException
public Resource createRelative(String relativeResourcePath)
throws IOException
Resource 复制的描述
Resource 中的 createRelativerelativeResourcePath - String relative resource path
IOExceptionpublic String getName()
Resource 复制的描述
Resource 中的 getName
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||