public class PkgLoader extends DelegateLoader implements Loader
ResourceLoader.ResourceEnumeratordelegate| Constructor and Description |
|---|
PkgLoader() |
PkgLoader(ClassLoader classLoader) |
PkgLoader(Loader delegate) |
| Modifier and Type | Method and Description |
|---|---|
Enumeration<Resource> |
load(String pkg,
boolean recursively,
Filter filter)
加载指定路径的所有满足过滤条件的资源。
|
load, load, loadpublic PkgLoader()
public PkgLoader(ClassLoader classLoader)
public PkgLoader(Loader delegate)
public Enumeration<Resource> load(String pkg, boolean recursively, Filter filter) throws IOException
Loaderload in interface Loaderpkg - 资源路径recursively - 递归加载filter - 过滤器IOException - I/O 异常Copyright © 2019. All rights reserved.