juzu.asset
Class Asset
java.lang.Object
juzu.asset.Asset
- Direct Known Subclasses:
- Asset.Ref, Asset.Value
public abstract class Asset
- extends Object
Representation of an asset at runtime, an asset can be a reference or a value.
Asset references are a mere reference to an asset that will be managed by the server, for instance the jquery
asset reference an asset for which the developer does not have to provide details.
Asset values provide an explicit asset with a location and an URI that will be used to resolve fully the asset.
- Author:
- Julien Viet
|
Nested Class Summary |
static class |
Asset.Ref
A referenced asset. |
static class |
Asset.Value
A valued asset. |
|
Constructor Summary |
Asset()
|
Asset
public Asset()
ref
public static Asset.Ref ref(String id)
uri
public static Asset.Value uri(String uri)
uri
public static Asset.Value uri(AssetLocation location,
String uri)
Copyright © 2012 eXo Platform SAS. All Rights Reserved.