Class MasterResourceMinimizer
- java.lang.Object
 - 
- org.apache.tapestry5.internal.services.assets.MasterResourceMinimizer
 
 
- 
- All Implemented Interfaces:
 ResourceMinimizer
@Marker(Primary.class) public class MasterResourceMinimizer extends Object implements ResourceMinimizer
Implementation that delegates, via its configuration, to a real implementation based on the content type of the resource. 
- 
- 
Constructor Summary
Constructors Constructor Description MasterResourceMinimizer(Map<String,ResourceMinimizer> configuration) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamableResourceminimize(StreamableResource resource)Does nothing; an override of this service can be installed to provide minimization. 
 - 
 
- 
- 
Constructor Detail
- 
MasterResourceMinimizer
public MasterResourceMinimizer(Map<String,ResourceMinimizer> configuration)
 
 - 
 
- 
Method Detail
- 
minimize
public StreamableResource minimize(StreamableResource resource) throws IOException
Does nothing; an override of this service can be installed to provide minimization.- Specified by:
 minimizein interfaceResourceMinimizer- Parameters:
 resource- to minimize- Returns:
 - the same resource, or a minimized replacement for the resource
 - Throws:
 IOException
 
 - 
 
 -