|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImmutableResourceBundle
The use of this interface is similar to that of ImageBundle. Declare
no-argument functions that return subclasses of ResourcePrototype
,
which are annotated with gwt.resource
annotations specifying
the classpath location of the resource to include in the output. At runtime,
the functions will return an object that can be used to access the data in
the original resource.
Method Summary | |
---|---|
ResourcePrototype |
getResource(java.lang.String name)
Find a resource by the name of the function in which it is declared. |
ResourcePrototype[] |
getResources()
A convenience method to iterate over all ResourcePrototypes contained in the ResourceBundle. |
Method Detail |
---|
ResourcePrototype getResource(java.lang.String name)
name
- the name of the desired resource
null
if no such resource is
defined.ResourcePrototype[] getResources()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |