public class ExternalUrlAssetFactory extends java.lang.Object implements AssetFactory
| Constructor and Description |
|---|
ExternalUrlAssetFactory(java.lang.String protocol) |
| Modifier and Type | Method and Description |
|---|---|
Asset |
createAsset(Resource resource)
Creates an instance of an asset.
|
Resource |
getRootResource()
Returns the Resource representing the root folder of the domain this factory is responsible for.
|
public ExternalUrlAssetFactory(java.lang.String protocol)
public Resource getRootResource()
AssetFactorygetRootResource in interface AssetFactorypublic Asset createAsset(Resource resource)
AssetFactoryAsset2.createAsset in interface AssetFactoryresource - a resource within this factories domain (derived from the root
resource)${project.version} - Copyright © 2003-2015 The Apache Software Foundation.