com.google.gwt.libideas.resources.client.impl
Class ExternalTextResourcePrototype

java.lang.Object
  extended by com.google.gwt.libideas.resources.client.impl.ExternalTextResourcePrototype
All Implemented Interfaces:
ExternalTextResource, ResourcePrototype

public class ExternalTextResourcePrototype
extends java.lang.Object
implements ExternalTextResource

Implements external resource fetching of TextResources.


Constructor Summary
ExternalTextResourcePrototype(java.lang.String name, java.lang.String url, TextResource[] cache, int index)
           
 
Method Summary
 java.lang.String getName()
          Returns the name of the function within the ResourceBundle used to create the ResourcePrototype.
 void getText(TextResourceCallback callback)
          Possibly fire off an HTTPRequest for the text resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalTextResourcePrototype

public ExternalTextResourcePrototype(java.lang.String name,
                                     java.lang.String url,
                                     TextResource[] cache,
                                     int index)
Method Detail

getName

public java.lang.String getName()
Description copied from interface: ResourcePrototype
Returns the name of the function within the ResourceBundle used to create the ResourcePrototype.

Specified by:
getName in interface ResourcePrototype
Returns:
the name of the function within the ResourceBundle used to create the ResourcePrototype

getText

public void getText(TextResourceCallback callback)
             throws ResourceException
Possibly fire off an HTTPRequest for the text resource.

Specified by:
getText in interface ExternalTextResource
Throws:
ResourceException