net.northfuse.resources
Class StyleResourceHandler

java.lang.Object
  extended by net.northfuse.resources.ResourceHandlerImpl
      extended by net.northfuse.resources.StyleResourceHandler
All Implemented Interfaces:
ResourceHandler

public final class StyleResourceHandler
extends ResourceHandlerImpl

Author:
tylers2

Constructor Summary
StyleResourceHandler()
          Creates a StyleResourceHandler.
 
Method Summary
protected  java.io.InputStream wrapWithMinify(java.io.InputStream is)
          Wraps the input stream with an input stream that minifies it.
 
Methods inherited from class net.northfuse.resources.ResourceHandlerImpl
getAggregatedResource, getMapping, getMediaType, init, isDebug, setDebug, setMapping, setResourceGenerator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleResourceHandler

public StyleResourceHandler()
Creates a StyleResourceHandler.

Method Detail

wrapWithMinify

protected java.io.InputStream wrapWithMinify(java.io.InputStream is)
                                      throws java.io.IOException
Wraps the input stream with an input stream that minifies it.

Specified by:
wrapWithMinify in class ResourceHandlerImpl
Parameters:
is - The input stream to wrap
Returns:
A wrapped input stream
Throws:
java.io.IOException - If an io exception occurs.


Copyright © 2011. All Rights Reserved.