|
Griffon 0.9.5-rc2 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
java.lang.Objectgriffon.transform.ResourcesAware
@Retention(RetentionPolicy.SOURCE) @Target(ElementType.TYPE) @GroovyASTTransformationClass("org.codehaus.griffon.ast.ResourcesAwareASTTransformation") public @interface ResourcesAware
Annotates a class.
When annotating a class it indicates that it will be able to locate resozrces using Griffon's standard resource loading mechanism.
The following methods will be added to classes annotated with @ResourcesAwarepublic URL getResourceAsURL(java.lang.String)
public URL getResourceAsStream(java.lang.String)
public List>URL< getResources(java.lang.String)
Method Summary |
---|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Groovy Documentation