public interface URLContainer
|Modifier and Type||Method and Description|
Returns the resource with the given name.
Returns the directory-like listing of all the paths to resources within the container whose longest sub-path matches the given path.
URL getResource(String name)
The name is a slash (
/) separated path that identifies the
name- the resource name
nullif the resource is not found or if the invoker does not have adequate privileges to get the resource
Set<String> getResources(String path)
Paths indicating sub-directory paths end with a slash (
path can be passed to the
getResource(String) method to return a
path- the resource path