public abstract class AbstractAssetFactory extends Object implements AssetFactory
Constructor and Description |
---|
AbstractAssetFactory(ResponseCompressionAnalyzer compressionAnalyzer,
ResourceChangeTracker resourceChangeTracker,
StreamableResourceSource streamableResourceSource,
AssetPathConstructor assetPathConstructor,
Resource rootResource) |
Modifier and Type | Method and Description |
---|---|
protected Asset |
createAsset(Resource resource,
String folder,
String resourcePath) |
Resource |
getRootResource()
Returns the root
ContextResource . |
protected boolean |
isCompressable(StreamableResource resource) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createAsset
public AbstractAssetFactory(ResponseCompressionAnalyzer compressionAnalyzer, ResourceChangeTracker resourceChangeTracker, StreamableResourceSource streamableResourceSource, AssetPathConstructor assetPathConstructor, Resource rootResource)
protected boolean isCompressable(StreamableResource resource)
public Resource getRootResource()
ContextResource
.getRootResource
in interface AssetFactory
protected Asset createAsset(Resource resource, String folder, String resourcePath)
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.