public interface JSResolvableBundleAsset extends JSBundleAsset
JSBundleAsset
that is selected/resolved from a pool of
equivalent objects of the same type.
For example, several JSModule
objects may point to the same physical
asset living in different bundles; each of those objects can be requested
using its JSBundleAsset
URL. Only the resolved instance chosen by a
predefined algorithm, however, is eligible to be requested via the JSResolvableBundleAsset
URL. This is useful to disambiguate duplicated
assets.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getResolvedId()
Returns the asset's resolved ID; this differs from the canonical ID
defined in the
JSBundleAsset . |
java.lang.String |
getResolvedURL()
Returns the asset's resolved URL; this differs from the canonical URL
defined in the
JSBundleAsset . |
getInputStream, getURL
getId, getName
java.lang.String getResolvedId()
JSBundleAsset
. See this class's package summary
for more information about resolved assets.java.lang.String getResolvedURL()
JSBundleAsset
. See this class's package summary
for more information about resolved assets.