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 Object
implements ResourceProcessor

Author:
Nick Belaevski

Constructor Summary
JavaScriptResourceProcessor(Charset charset, org.apache.maven.plugin.logging.Log log)
           
 
Method Summary
 boolean isSupportedFile(String name)
           
 void process(String resourceName, com.google.common.io.InputSupplier<? extends InputStream> in, com.google.common.io.OutputSupplier<? extends 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(Charset charset,
                                   org.apache.maven.plugin.logging.Log log)
Method Detail

isSupportedFile

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

process

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


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