public class FileStaticRepository extends java.lang.Object implements StaticRepository
构造器和说明 |
---|
FileStaticRepository(java.lang.String location)
构建函数
|
限定符和类型 | 方法和说明 |
---|---|
java.net.URL |
find(java.lang.String relativePath)
查找
|
protected void |
setLocation(java.lang.String location)
设置位置
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
preheat
public FileStaticRepository(java.lang.String location)
location
- 位置protected void setLocation(java.lang.String location)
location
- 位置public java.net.URL find(java.lang.String relativePath) throws java.lang.Exception
StaticRepository
find
在接口中 StaticRepository
relativePath
- 例:demo/file.htm (没有'/'开头)java.lang.Exception