org.richfaces.cdk.resource.writer
Interface ResourceProcessor

All Known Implementing Classes:
CSSResourceProcessor, JavaScriptResourceProcessor

public interface ResourceProcessor

Author:
Nick Belaevski

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)
           
 

Method Detail

isSupportedFile

boolean isSupportedFile(java.lang.String name)

process

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
Throws:
java.io.IOException


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