java.lang.AutoCloseable
, ResourceLoader
public interface IterableResourceLoader extends ResourceLoader
Modifier and Type | Method | Description |
---|---|---|
java.util.Iterator<Resource> |
iterateResources(java.lang.String startPath,
boolean recursive) |
Enumerate all the resources under the given path.
|
close, createSubloader, getClassSpec, getLibrary, getLocation, getPackageSpec, getPaths, getResource, getRootName
java.util.Iterator<Resource> iterateResources(java.lang.String startPath, boolean recursive)
..
, such segments will be consumed.
If the path is absolute, it will be converted to a relative path by dropping the leading /
.startPath
- the path to search underrecursive
- true
to recursively descend into subdirectories, false
to only read this pathCopyright © 2022 JBoss by Red Hat. All rights reserved.