public class

ExternalTextResourcePrototype

extends Object
implements ExternalTextResource
java.lang.Object
   ↳ com.google.gwt.resources.client.impl.ExternalTextResourcePrototype

Class Overview

Implements external resource fetching of TextResources.

Summary

Public Constructors
ExternalTextResourcePrototype(String name, String url, TextResource[] cache, int index)
Public Methods
String getName()
Returns the name of the function within the ClientBundle used to create the ResourcePrototype.
void getText(ResourceCallback<TextResource> callback)
Possibly fire off an HTTPRequest for the text resource.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.gwt.resources.client.ExternalTextResource
From interface com.google.gwt.resources.client.ResourcePrototype

Public Constructors

public ExternalTextResourcePrototype (String name, String url, TextResource[] cache, int index)

Public Methods

public String getName ()

Returns the name of the function within the ClientBundle used to create the ResourcePrototype.

Returns
  • the name of the function within the ClientBundle used to create the ResourcePrototype

public void getText (ResourceCallback<TextResource> callback)

Possibly fire off an HTTPRequest for the text resource.