* {@inheritDoc}
*/
public void process(final Resource resource, final Reader reader, final Writer writer)
throws IOException {
try {
new CssCompressor(reader).compress(writer, -1);
writer.flush();
} catch (final Exception e) {
final String resourceUri = resource == null ? StringUtils.EMPTY : "[" + resource.getUri() + "]";
String message = "Exception while applying " + getClass().getSimpleName() + " processor on the "
+ resourceUri + " resource";