wro4j-extensions/src/main/java/ro/isdc/wro/extensions/processor/css/YUICssCompressorProcessor.java
@Override
  public void process(final Resource resource, final Reader reader, final Writer writer)
    throws IOException {
    try {
      final YuiCssCompressor compressor = new YuiCssCompressor(reader);
      compressor.compress(writer, linebreakpos);
    } catch(final Exception e) {
      LOG.error("Exception occured while processing resource: " + resource + " using processor: " + ALIAS);
      onException(e);
    } finally {
      reader.close();
      writer.close();
    }
  }
@Override
  public void process(final Resource resource, final Reader reader, final Writer writer)
    throws IOException {
    try {
      final YuiCssCompressor compressor = new YuiCssCompressor(reader);
      compressor.compress(writer, linebreakpos);
    } catch(final Exception e) {
      LOG.error("Exception occured while processing resource: " + resource + " using processor: " + ALIAS);
      onException(e);
    } finally {
      reader.close();
      writer.close();
    }
  }
@ Override public void process ( final Resource resource , final Reader reader , final Writer writer ) throws IOException { try { final YuiCssCompressor compressor = new YuiCssCompressor ( reader ) ; compressor . compress ( writer , linebreakpos ) ; } catch ( final Exception e ) { LOG . error ( "Exception occured while processing resource: " + resource + " using processor: " + ALIAS ) ; onException ( e ) ; } finally { reader . close ( ) ; writer . close ( ) ; } }
{@inheritDoc}
{