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

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

public class CSSResourceProcessor
extends java.lang.Object
implements ResourceProcessor

Author:
Nick Belaevski

Constructor Summary
CSSResourceProcessor(java.nio.charset.Charset charset)
           
 
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

CSSResourceProcessor

public CSSResourceProcessor(java.nio.charset.Charset charset)
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.