@Target(value=FIELD) @Retention(value=SOURCE) @Documented public @interface StaticResource
Stringconstant whose value denotes a resource path. For example, the resource might be an icon path intended for
ImageUtilities.loadImage. The primary purpose of the annotation is for its processor, which will signal a compile-time error if the resource does not in fact exist - ensuring that at least this usage will not be accidentally broken by moving, renaming, or deleting the resource.
public abstract boolean searchClasspath
public abstract boolean relative
../sequences are permitted.) By default, it must be an absolute path (not starting with
Built on August 25 2014. | Portions Copyright 1997-2014 Oracle. All rights reserved.