public class DefaultVfs extends Object
注:此文件中的大部分内容是从Mybatis中参考过来的.
| 构造器和说明 |
|---|
DefaultVfs() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<String> |
list(URL url,
String path)
Recursively list the full resource path of all the resources that are children of the
resource identified by a URL.
|
static DefaultVfs |
newInstance()
获取新实例.
|
public static DefaultVfs newInstance()
public List<String> list(URL url, String path) throws IOException
url - The URL that identifies the resource to list.path - The path to the resource that is identified by the URL. Generally, this is the
value passed to get the resource URL.IOException - If I/O errors occurCopyright © 2018. All rights reserved.