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()
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)5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.