|
Griffon 0.9.5-rc2 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface ResourceHandler
Indicates a type that knows how to load resources from the classpath.
Method Summary | |
---|---|
InputStream
|
getResourceAsStream(String name)
Returns an input stream for reading the specified resource. |
URL
|
getResourceAsURL(String name)
Finds the resource with the given name. |
List
|
getResources(String name)
Finds all the resources with the given name. |
Method Detail |
---|
public InputStream getResourceAsStream(String name)
name
- The resource name
public URL getResourceAsURL(String name)
The name of a resource is a '/'-separated path name that identifies the resource.
name
- The resource name
public List getResources(String name)
The name of a resource is a /-separated path name that identifies the resource.
name
- The resource name
Groovy Documentation