org.richfaces.cdk.resource.writer.impl
Class JavaScriptCompressingProcessor
java.lang.Object
org.richfaces.cdk.resource.writer.impl.JavaScriptCompressingProcessor
- All Implemented Interfaces:
- ResourceProcessor
public class JavaScriptCompressingProcessor
- extends Object
- implements ResourceProcessor
- Author:
- Nick Belaevski
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaScriptCompressingProcessor
public JavaScriptCompressingProcessor(Charset charset,
org.apache.maven.plugin.logging.Log log)
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,
boolean closeAtFinish)
throws IOException
- Specified by:
process in interface ResourceProcessor
- Throws:
IOException
process
public void process(String resourceName,
InputStream in,
OutputStream out,
boolean closeAtFinish)
throws IOException
- Specified by:
process in interface ResourceProcessor
- Throws:
IOException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.