public interface SpincastCssYuiCompressorManager
| Modifier and Type | Method and Description |
|---|---|
void |
minify(File cssFile)
Minify the specified CSS file.
|
void |
minify(File cssFile,
Charset encoding)
Minify the specified CSS file.
|
void |
minify(File cssFile,
Charset encoding,
int lineBreakPos)
Minify the specified CSS file.
|
void |
minify(File cssFile,
int lineBreakPos)
Minify the specified CSS file.
|
String |
minify(String cssContent)
Minify the specified CSS String.
|
String |
minify(String cssContent,
int lineBreakPos)
Minify the specified CSS String.
|
String minify(String cssContent, int lineBreakPos)
lineBreakPos - From the
YUI Compressor documentation:
Some source control tools don't like files containing lines longer than, say 8000 characters. The linebreak option is used in that case to split long lines after a specific column. It can also be used to make the code more readable, easier to debug (especially with the MS Script Debugger) Specify 0 to get a line break after each semi-colon in JavaScript, and after each rule in CSS.
void minify(File cssFile)
Use UTF-8 as the encoding.
void minify(File cssFile, int lineBreakPos)
Use UTF-8 as the encoding.
lineBreakPos - From the
YUI Compressor documentation:
Some source control tools don't like files containing lines longer than, say 8000 characters. The linebreak option is used in that case to split long lines after a specific column. It can also be used to make the code more readable, easier to debug (especially with the MS Script Debugger) Specify 0 to get a line break after each semi-colon in JavaScript, and after each rule in CSS.
void minify(File cssFile, Charset encoding, int lineBreakPos)
lineBreakPos - From the
YUI Compressor documentation:
Some source control tools don't like files containing lines longer than, say 8000 characters. The linebreak option is used in that case to split long lines after a specific column. It can also be used to make the code more readable, easier to debug (especially with the MS Script Debugger) Specify 0 to get a line break after each semi-colon in JavaScript, and after each rule in CSS.
Copyright © 2019. All rights reserved.