public class JarLoader extends ResourceLoader implements Loader
ResourceLoader.ResourceEnumerator| Constructor and Description |
|---|
JarLoader(File file) |
JarLoader(URL jarURL) |
JarLoader(URL context,
JarFile jarFile) |
| Modifier and Type | Method and Description |
|---|---|
Enumeration<Resource> |
load(String path,
boolean recursively,
Filter filter)
加载指定路径的所有满足过滤条件的资源
|
load, load, loadpublic JarLoader(File file) throws IOException
IOExceptionpublic JarLoader(URL jarURL) throws IOException
IOExceptionCopyright © 2020. All rights reserved.