org.richfaces.resource.optimizer.resource.writer

## Interface ResourceProcessor

- All Known Implementing Classes:
    CSSCompressingProcessor, JavaScriptCompressingProcessor, JavaScriptPackagingProcessor

      public interface ResourceProcessor

  Author:
    Nick Belaevski

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isSupportedFile(String name)`
    `void` | `process(String resourceName, InputStream in, OutputStream out, boolean closeAtFinish)`
    `void` | `process(String resourceName, com.google.common.io.InputSupplier<? extends InputStream> in, com.google.common.io.OutputSupplier<? extends OutputStream> out, boolean closeAtFinish)`

- - ### Method Detail

    - #### isSupportedFile

          boolean isSupportedFile(String name)

    - #### process

          void process(String resourceName,
                     com.google.common.io.InputSupplier<? extends InputStream> in,
                     com.google.common.io.OutputSupplier<? extends OutputStream> out,
                     boolean closeAtFinish)
                       throws IOException

      Throws:
        `IOException`

    - #### process

          void process(String resourceName,
                     InputStream in,
                     OutputStream out,
                     boolean closeAtFinish)
                       throws IOException

      Throws:
        `IOException`

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.