Package ro.isdc.wro.extensions.processor.support.sass

Examples of ro.isdc.wro.extensions.processor.support.sass.SassCss


   */
  @Override
  public void process(final Resource resource, final Reader reader, final Writer writer)
      throws IOException {
    final String content = IOUtils.toString(reader);
    final SassCss engine = enginePool.getObject();
    try {
      writer.write(engine.process(content));
    } catch (final WroRuntimeException e) {
      final String resourceUri = resource == null ? StringUtils.EMPTY : "[" + resource.getUri() + "]";
      LOG.error("Exception while applying " + SassCss.class.getClass().getSimpleName() + " processor on the " + resourceUri
          + " resource, no processing applied...", e);
      onException(e);
View Full Code Here


   *
   * @param content
   * @return
   */
  protected SassCss newEngine() {
    return new SassCss();
  }
View Full Code Here

TOP

Related Classes of ro.isdc.wro.extensions.processor.support.sass.SassCss

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.