@Service(value="blCssMinificationService") public class YUICssMinificationServiceImpl extends Object implements CssMinificationService
Constructor and Description |
---|
YUICssMinificationServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
minifyCss(String filename,
Reader reader,
Writer writer)
Minfies the file in "reader" and writes the minified version to "writer"
|
public void minifyCss(String filename, Reader reader, Writer writer) throws ResourceMinificationException
CssMinificationService
minifyCss
in interface CssMinificationService
filename
- Name of the file to be minifiedreader
- The original filewriter
- The writer that the minified version of the file in "reader" will be written toResourceMinificationException
- Failure to successfully minify the bytes in "reader"Copyright © 2022. All rights reserved.