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

java.lang.Object
  extended by org.richfaces.cdk.resource.writer.impl.CharResourceProcessor
All Implemented Interfaces:
ResourceProcessor
Direct Known Subclasses:
CSSResourceProcessor, JavaScriptResourceProcessor

public abstract class CharResourceProcessor
extends java.lang.Object
implements ResourceProcessor

Author:
Nick Belaevski

Constructor Summary
CharResourceProcessor()
           
 
Method Summary
protected abstract  void doActualProcess(java.lang.String resourceName, java.io.Reader in, java.io.Writer out)
           
 void process(java.lang.String resourceName, java.io.InputStream in, java.io.OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.richfaces.cdk.resource.writer.ResourceProcessor
isSupportedFile
 

Constructor Detail

CharResourceProcessor

public CharResourceProcessor()
Method Detail

doActualProcess

protected abstract void doActualProcess(java.lang.String resourceName,
                                        java.io.Reader in,
                                        java.io.Writer out)
                                 throws java.io.IOException
Throws:
java.io.IOException

process

public void process(java.lang.String resourceName,
                    java.io.InputStream in,
                    java.io.OutputStream out)
             throws java.io.IOException
Specified by:
process in interface ResourceProcessor
Throws:
java.io.IOException


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