|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface Resource
LESS resource interface.
Abstracts LessSource from resource access technology. Makes it possible to load LESS resources from files,
classpath resource, URL, etc.
| 方法摘要 | |
|---|---|
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. |
| 方法详细信息 |
|---|
boolean exists()
long lastModified()
long value representing the time the resource was last modified, measured in milliseconds
since the epoch (00:00:00 GMT, January 1, 1970).
InputStream getInputStream()
throws IOException
IOException
Resource createRelative(String relativeResourcePath)
throws IOException
relativeResourcePath - String relative resource path
IOExceptionString getName()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||