Package com.google.gwt.resources.client
Interface DataResource
- All Superinterfaces:
ResourcePrototype
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.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic @interface
Specifies that the resource or resources associated with theResourcePrototype
should not be embedded into the compiled output.static @interface
Specifies the MIME Type of the resource or resources associated with theResourcePrototype
. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves a URL by which the contents of the resource can be obtained.getUrl()
Deprecated.Methods inherited from interface com.google.gwt.resources.client.ResourcePrototype
getName
-
Method Details
-
getSafeUri
SafeUri getSafeUri()Retrieves a URL by which the contents of the resource can be obtained. This will be an absolute URL. -
getUrl
Deprecated.UsegetSafeUri()
instead.Retrieves a URL by which the contents of the resource can be obtained. This will be an absolute URL.
-
getSafeUri()
instead.