net.northfuse.resources
Class ScriptResourceHandler

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

public final class ScriptResourceHandler
extends ResourceHandlerImpl

Author:
tylers2

Constructor Summary
ScriptResourceHandler()
          Creates a ScriptResourceHandler.
 
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

ScriptResourceHandler

public ScriptResourceHandler()
Creates a ScriptResourceHandler.

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.