Creates a new asset relative to an existing asset.
@param baseResource the base resource from which an asset path may be calculated. Each type of asset is linked to a particular implemenation of {@link Resource}, and generates a corresponding implementation of {@link org.apache.tapestry.IAsset}.
@param path the path relative to the resource (if no leading slash), or an absolute path within the domain of the asset type (i.e, within the classpath, or within the web application).
@param locale the desired locale of the asset; the closest match will be used.
@param location the location to be associated with the returned asset, or null to not attempt to localize the asset
@throws org.apache.hivemind.ApplicationRuntimeException if no matching asset may be found.
Creates an instance of an asset. Starting with 5.1.0.0, it is preferred (but not required) that the factory return an instance of {@link org.apache.tapestry5.Asset2}.
@param resource a resource within this factories domain (derived from the {@linkplain #getRootResource() rootresource})
@return an Asset for the resource
Stores given asset in the repository. asset need to have all meta data and content available for the operation to successfully complete.
@param asset - asset to be stored
@return returns asset unique identifier that can be used to locate it
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.