org.richfaces.resource.optimizer.resource.writer

## Interface ResourceProcessor

- All Known Implementing Classes:
    CSSCompressingProcessor, CSSPackagingProcessor, JavaScriptCompressingProcessor, JavaScriptPackagingProcessor

      public interface ResourceProcessor

  Author:
    Nick Belaevski

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isSupportedFile(String name)`
    `void` | `process(String outputName, com.google.common.io.ByteSource byteSource, com.google.common.io.ByteSink byteSink, boolean closeAtFinish)`
    `void` | `process(String outputName, InputStream in, OutputStream out, boolean closeAtFinish)`

- - ### Method Detail

    - #### isSupportedFile

          boolean isSupportedFile(String name)

    - #### process

          void process(String outputName,
                       com.google.common.io.ByteSource byteSource,
                       com.google.common.io.ByteSink byteSink,
                       boolean closeAtFinish)
                throws IOException

      Throws:
        `IOException`

    - #### process

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

      Throws:
        `IOException`

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