Package com.google.gwt.resources.client
Interface ExternalTextResource
- All Superinterfaces:
- ResourcePrototype
Identical to 
TextResource, except the contents of the resource are
 not inlined into the compiled output. This is suitable for resources that are
 not required as part of program initialization.- 
Method SummaryModifier and TypeMethodDescriptionvoidgetText(ResourceCallback<TextResource> callback) Fetches aTextResourceand callscallbackwith the result.Methods inherited from interface com.google.gwt.resources.client.ResourcePrototypegetName
- 
Method Details- 
getTextFetches aTextResourceand callscallbackwith the result. Caches after the first result, socallbackis invoked immediately for subsequent invocations.- Throws:
- ResourceException- if the resource request cannot be initiated, e.g. due to an invalid url or an AJAX security error (same origin violation)
 
 
-