public interface

DataResource

implements ResourcePrototype
com.google.gwt.resources.client.DataResource

Class Overview

A non-text resource. Use DataResource.MimeType to provide MIME Types for embedded resources which may not be determined automatically at compile time. Use DataResource.DoNotEmbed to prevent a resource from being embedded.

Summary

Nested Classes
@interface DataResource.DoNotEmbed Specifies that the resource or resources associated with the ResourcePrototype should not be embedded into the compiled output. 
@interface DataResource.MimeType Specifies the MIME Type of the resource or resources associated with the ResourcePrototype
Public Methods
abstract String getUrl()
Retrieves a URL by which the contents of the resource can be obtained.
[Expand]
Inherited Methods
From interface com.google.gwt.resources.client.ResourcePrototype

Public Methods

public abstract String getUrl ()

Retrieves a URL by which the contents of the resource can be obtained. This will be an absolute URL.