|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface URLContainer
| Method Summary | |
|---|---|
URL |
getResource(String name)
Returns the resource with the given name. |
Set<String> |
getResources(String path)
Returns the directory-like listing of all the paths to resources within the container whose longest sub-path matches the given path. |
| Method Detail |
|---|
URL getResource(String name)
The name is a slash (/) separated path that identifies the
resource.
name - the resource name
null if
the resource is not found or if the invoker does not have
adequate privileges to get the resourceSet<String> getResources(String path)
Paths indicating sub-directory paths end with a slash (/). A
path can be passed to the getResource(String) method to return a
resource URL.
path - the resource path
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||