public class ExternalUrlAssetFactory extends Object implements AssetFactory
| Constructor and Description |
|---|
ExternalUrlAssetFactory(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(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)5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.