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()
AssetFactory
getRootResource
in interface AssetFactory
public Asset createAsset(Resource resource)
AssetFactory
Asset2
.createAsset
in interface AssetFactory
resource
- a resource within this factories domain (derived from the root
resource)${project.version} - Copyright © 2003-2015 The Apache Software Foundation.