public interface ResourceSet
ResourceSet
abstracts Resource
lookup mechanism.
ResourceSet
implementations have to make sure that they don't return resources outside of their scopes.
For instance, the FileResourceSet
verifies that the found resource is really a child file of the
root directory (imagine that the path to lookup is ../../etc/passwd).
Modifier and Type | Method and Description |
---|---|
Resource |
find(String path)
Finds a
Resource matching the given path . |
Copyright 2011-2017 ForgeRock AS.