Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tapestry5.internal.services.assets
Class MasterResourceMinimizer

    java.lang.Object
      org.apache.tapestry5.internal.services.assets.MasterResourceMinimizer

All Implemented Interfaces:
  ResourceMinimizer

    @Marker(value=Primary.class)
    public class MasterResourceMinimizer

extends java.lang.Object
implements ResourceMinimizer

Implementation that delegates, via its configuration, to a real implementation based on the content type of the resource.

Constructor Summary
`MasterResourceMinimizer(java.util.Map<java.lang.String,ResourceMinimizer> configuration)`

Method Summary
`StreamableResource` | `minimize(StreamableResource resource)` Does nothing; an override of this service can be installed to provide minimization.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MasterResourceMinimizer

    public MasterResourceMinimizer(java.util.Map<java.lang.String,ResourceMinimizer> configuration)

Method Detail

### minimize

    public StreamableResource minimize(StreamableResource resource)
                                throws java.io.IOException

  Does nothing; an override of this service can be installed to provide minimization.

  Specified by:
    `minimize` in interface `ResourceMinimizer`
  Parameters:
    `resource` - to minimize
  Returns:
    the same resource, or a minimized replacement for the resource
  Throws:
    `java.io.IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.