public interface ResourceMinificationService
Modifier and Type | Method and Description |
---|---|
boolean |
getAllowSingleMinification()
Indicates whether or not the system is allowed to attempt to minify individual files.
|
boolean |
getEnabled()
Indicates whether or not the system is allowed to minify bundled resources.
|
byte[] |
minify(String filename,
byte[] bytes)
Given the source byte[], will return a byte[] that represents the YUI-compressor minified version
of the byte[].
|
byte[] minify(String filename, byte[] bytes)
filename
- bytes
- boolean getEnabled()
boolean getAllowSingleMinification()
Copyright © 2014. All rights reserved.