org.richfaces.cdk.resource.writer.impl
Class JavaScriptResourceProcessor

java.lang.Object
  extended by org.richfaces.cdk.resource.writer.impl.JavaScriptResourceProcessor
All Implemented Interfaces:
ResourceProcessor

public class JavaScriptResourceProcessor
extends java.lang.Object
implements ResourceProcessor

Author:
Nick Belaevski

Constructor Summary
JavaScriptResourceProcessor(java.nio.charset.Charset charset, org.apache.maven.plugin.logging.Log log)
           
 
Method Summary
 boolean isSupportedFile(java.lang.String name)
           
 void process(java.lang.String resourceName, com.google.common.io.InputSupplier<? extends java.io.InputStream> in, com.google.common.io.OutputSupplier<? extends java.io.OutputStream> out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaScriptResourceProcessor

public JavaScriptResourceProcessor(java.nio.charset.Charset charset,
                                   org.apache.maven.plugin.logging.Log log)
Method Detail

isSupportedFile

public boolean isSupportedFile(java.lang.String name)
Specified by:
isSupportedFile in interface ResourceProcessor

process

public void process(java.lang.String resourceName,
                    com.google.common.io.InputSupplier<? extends java.io.InputStream> in,
                    com.google.common.io.OutputSupplier<? extends java.io.OutputStream> out)
             throws java.io.IOException
Specified by:
process in interface ResourceProcessor
Throws:
java.io.IOException


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.