AutoCloseable
, ResourceLoader
public interface IterableResourceLoader extends ResourceLoader
Modifier and Type | Method | Description |
---|---|---|
Iterator<Resource> |
iterateResources(String startPath,
boolean recursive) |
Enumerate all the resources under the given path.
|
close, createSubloader, getClassSpec, getLibrary, getLocation, getPackageSpec, getPaths, getResource, getRootName
Iterator<Resource> iterateResources(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 © 2018 JBoss by Red Hat. All rights reserved.