public interface DataResource extends ResourcePrototype
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.Modifier and Type | Interface and Description |
---|---|
static interface |
DataResource.DoNotEmbed
Specifies that the resource or resources associated with the
ResourcePrototype should not be embedded into the compiled output. |
static interface |
DataResource.MimeType
Specifies the MIME Type of the resource or resources associated with the
ResourcePrototype . |
Modifier and Type | Method and Description |
---|---|
SafeUri |
getSafeUri()
Retrieves a URL by which the contents of the resource can be obtained.
|
String |
getUrl()
Deprecated.
Use
getSafeUri() instead. |
getName
SafeUri getSafeUri()
@Deprecated String getUrl()
getSafeUri()
instead.Copyright © 2018. All rights reserved.